SettingGroup.onDeleteItem method
SettingGroup › onDeleteItem
Unofficial
Registers a handler invoked when an item is deleted via the keyboard.Signature:
onDeleteItem(cb: (index: number) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (index: number) => void | Callback receiving the deleted item's index. |
Returns: this — The setting group.