add()


/**
 * @param {Mixed} items
 * @return {Void}
*/
add(items)

Adds an element or elements to the instance making them selectable.


The first argument is the item or items you want to add in the following format:

  • HTMLElement

  • HTMLCollection

  • NodeList

  • Array of HTMLElement


Demo

Last updated