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 theitems
arrayObject
- a reference to theitem
stored in theitems
arrayArray
- an array ofHTMLElement
, indexes or item references
Last updated