SettingGroup.onReorderItem method
SettingGroup › onReorderItem
Unofficial
Registers a handler invoked when an item is reordered via the keyboard.Signature:
onReorderItem(cb: (fromIndex: number, toIndex: number) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| cb | (fromIndex: number, toIndex: number) => void | Callback receiving the source and destination indices. |
Returns: this — The setting group.