Skip to content

BookmarksPluginInstance.moveItem method

BookmarksPluginInstance › moveItem

Unofficial

Move a bookmark item to a new position within the list.

Signature:

moveItem(item: BookmarkItem, instance: BookmarksPluginInstance | undefined, index: number): void

Parameters:

Parameter Type Description
item BookmarkItem The bookmark item to move.
instance BookmarksPluginInstance | undefined The target parent plugin instance, or undefined for root.
index number The target index position.

Returns: void