Skip to content

SettingDefinitionList.onReorder?

SettingDefinitionList › onReorder?

Official

Type: (oldIndex: number, newIndex: number) => void

When set, adds a drag handle to each item and enables drag-to-reorder. Called with old and new indices.

Since: 1.13.0