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:

ParameterTypeDescription
itemBookmarkItemThe bookmark item to move.
instanceBookmarksPluginInstance | undefinedThe target parent plugin instance, or undefined for root.
indexnumberThe target index position.

Returns: void