BookmarksPluginInstance.openBookmark method
BookmarksPluginInstance › openBookmark
Unofficial
Open a bookmark item in a new or existing leaf.Signature:
openBookmark(item: BookmarkItem, newLeaf: boolean | PaneType, newLeaf2?: boolean | PaneType | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| item | BookmarkItem | The bookmark item to open. |
| newLeaf | boolean | PaneType | Where to open the bookmark. |
| newLeaf2? | boolean | PaneType | undefined | Optional secondary pane type. |
Returns: Promise<void> — A promise that resolves when the bookmark is opened.