deselect()

Deselects an item or a collection of items.


This method accepts the same arguments as the select() method:

  • HTMLElement

  • HTMLCollection

  • NodeList

  • Number - the index of the selectable item in the items array

  • Object - a reference to the item stored in the items array

  • Array - an array of HTMLElement, indexes or item references


Last updated