SlashMenuItemSelectArgs

23 Sep 20251 minute to read

Provides detailed information about a SlashMenuItemSelect event.

Properties

cancel boolean

Specifies the boolean value to cancel the default action if set to true.

isInteracted boolean

If the event is triggered by user interaction, it returns true. Otherwise, it returns false.

item HTMLLIElement

Returns the selected list item of the slash menu list as an HTMLLIElement.

itemData ISlashMenuItem

Returns the selected slash menu item data corresponding to the interface.

originalEvent MouseEvent|KeyboardEvent|TouchEvent

Specifies the original event arguments such as MouseEvent, KeyboardEvent, or TouchEvent.