Skip to content

BookmarksPluginInstance.findBookmarkByView method

BookmarksPluginInstance › findBookmarkByView

Unofficial

Find the bookmark item associated with a given file view.

Signature:

findBookmarkByView(view: FileView): BookmarkItem | null | undefined

Parameters:

Parameter Type Description
view FileView The file view to find the bookmark for.

Returns: BookmarkItem | null | undefinedThe matching bookmark item, or null/undefined if not found.