SelectEventArgs

12 Sep 20251 minute to read

An interface that holds selected event arguments

Properties

cancel boolean

Cancels the item selection if the value is true

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

It denotes the selected item dataSource JSON object.

event MouseEvent|KeyboardEvent

Specifies that event argument when event raised by other event.

index 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.

isInteracted boolean

Specifies that event has triggered by user interaction.

item HTMLElement|Element

It denotes the selected item list element.

name string

Specifies name of the event.

text string

It denotes the selected item text.