BookmarksPluginInstance.openBookmarkInLeaf method
BookmarksPluginInstance › openBookmarkInLeaf
Unofficial
Open a bookmark item in a specific workspace leaf.Signature:
openBookmarkInLeaf(item: BookmarkItem, leaf: WorkspaceLeaf, newLeaf?: boolean | PaneType | undefined): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| item | BookmarkItem | The bookmark item to open. |
| leaf | WorkspaceLeaf | The target workspace leaf. |
| newLeaf? | boolean | PaneType | undefined | Optional pane type override. |
Returns: Promise<void> — A promise that resolves when the bookmark is opened in the leaf.