UISelectedItem

12 Sep 20251 minute to read

An interface that holds UI selected item.

Properties

data { : }| { : }[]|string|number|string[]|number[]

It denotes the selected item dataSource JSON object or object collection.

index number|number[]

It is used to denote the index of the selected element.

isChecked boolean

It is used to check whether the element is checked or not.

item HTMLElement|Element[]|NodeList

It denotes the selected item list element or element collection.

text string|number|string[]|number[]

It denotes the selected item text data or collection.