> For the complete documentation index, see [llms.txt](https://mobius-studios.gitbook.io/selectable/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mobius-studios.gitbook.io/selectable/api/methods/add.md).

# add()

***

```javascript
/**
 * @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`&#x20;
* `NodeList`
* `Array` of `HTMLElement`

***

### Demo

{% embed url="<https://codepen.io/Mobius1/pen/RwEvWJm>" %}
