BookmarksPluginInstance
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:24
Extends
Properties
_
_:
Record
<string
,EventsEntry
[]>
Defined in: src/obsidian/augmentations/Events.d.ts:5
Inherited from
app
app:
App
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:25
bookmarkedViews
bookmarkedViews:
WeakMap
<View
,HTMLElement
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:26
bookmarkLookup
bookmarkLookup:
Record
<string
,BookmarkItem
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:27
defaultOn
defaultOn:
true
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:28
description
description:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:5
Inherited from
InternalPluginInstance
.description
hasValidData
hasValidData:
boolean
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:29
id
id:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:6
Inherited from
items
items:
BookmarkItem
[]
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:30
name
name:
string
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:7
Inherited from
onDisable()?
optional
onDisable: (app
,plugin
) =>void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:8
Parameters
app
plugin
Returns
void
Inherited from
InternalPluginInstance
.onDisable
onItemsChanged
onItemsChanged:
Debouncer
<[boolean
],void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:31
onUserDisable()?
optional
onUserDisable: (app
) =>void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:10
Parameters
app
Returns
void
Inherited from
InternalPluginInstance
.onUserDisable
plugin
plugin:
BookmarksPlugin
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:32
urlBookmarkLookup
urlBookmarkLookup:
Record
<string
,BookmarkItem
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:33
Methods
_onItemsChanged()
_onItemsChanged(
shouldSave
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:35
Parameters
shouldSave
boolean
Returns
void
addItem()
addItem(
item
,instance
?):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:36
Parameters
item
instance?
Returns
void
editItem()
editItem(
item
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:37
Parameters
item
Returns
void
findBookmarkByView()
findBookmarkByView(
view
):undefined
|null
|BookmarkItem
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:38
Parameters
view
Returns
undefined
| null
| BookmarkItem
getBookmarks()
getBookmarks():
BookmarkItem
[]
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:39
Returns
getItemTitle()
getItemTitle(
item
):string
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:40
Parameters
item
Returns
string
init()
init(
app
,plugin
):void
Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:13
Parameters
app
plugin
Returns
void
Inherited from
initLeaf()
initLeaf():
void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:41
Returns
void
loadData()
loadData():
Promise
<boolean
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:42
Returns
Promise
<boolean
>
moveItem()
moveItem(
item
,instance
,index
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:43
Parameters
item
instance
undefined
| BookmarksPluginInstance
index
number
Returns
void
off()
off(
name
,callback
):void
Defined in: obsidian.d.ts:1441
Parameters
name
string
callback
(…data
) => unknown
Returns
void
Inherited from
offref()
offref(
ref
):void
Defined in: obsidian.d.ts:1445
Parameters
ref
Returns
void
Inherited from
on()
on(
name
,callback
,ctx
?):EventRef
Defined in: obsidian.d.ts:1437
Parameters
name
string
callback
(…data
) => unknown
ctx?
any
Returns
Inherited from
onEditorMenu()
onEditorMenu(
menu
,editor
,info
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:44
Parameters
menu
editor
info
MarkdownView
| MarkdownFileInfo
Returns
void
onEnable()
onEnable(
app
,plugin
):Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:45
Parameters
app
plugin
Returns
Promise
<void
>
Overrides
InternalPluginInstance.onEnable
onExternalSettingsChange()
onExternalSettingsChange():
Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:46
Returns
Promise
<void
>
onFileMenu()
onFileMenu(
menu
,files
,source
,leaf
?):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:47
Parameters
menu
files
source
string
leaf?
Returns
void
onFileRename()
onFileRename(
file
,oldPath
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:48
Parameters
file
oldPath
string
Returns
void
onFilesMenu()
onFilesMenu(
menu
,files
,source
,leaf
?):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:49
Parameters
menu
files
source
string
leaf?
Returns
void
onLeafMenu()
onLeafMenu(
menu
,leaf
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:50
Parameters
menu
leaf
Returns
void
onSearchResultsMenu()
onSearchResultsMenu(
menu
,search
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:51
Parameters
menu
search
TypedWorkspaceLeaf
<SearchView
>
Returns
void
onTabGroupMenu()
onTabGroupMenu(
menu
,tabsLeaf
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:52
Parameters
menu
tabsLeaf
Returns
void
onUserEnable()
onUserEnable():
void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:53
Returns
void
Overrides
InternalPluginInstance.onUserEnable
openBookmark()
openBookmark(
item
,newLeaf
,newLeaf2
?):Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:54
Parameters
item
newLeaf
boolean
| PaneType
newLeaf2?
boolean
| PaneType
Returns
Promise
<void
>
openBookmarkInLeaf()
openBookmarkInLeaf(
item
,leaf
,newLeaf
?):Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:55
Parameters
item
leaf
newLeaf?
boolean
| PaneType
Returns
Promise
<void
>
openBookmarks()
openBookmarks(
items
,newLeaf
?):Promise
<void
>
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:56
Parameters
items
newLeaf?
boolean
| PaneType
Returns
Promise
<void
>
rebuildBookmarkCache()
rebuildBookmarkCache():
void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:57
Returns
void
removeItem()
removeItem(
item
):void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:58
Parameters
item
Returns
void
saveData()
saveData():
void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:59
Returns
void
trigger()
trigger(
name
, …data
):void
Defined in: obsidian.d.ts:1449
Parameters
name
string
data
…unknown
[]
Returns
void
Inherited from
tryTrigger()
tryTrigger(
evt
,args
):void
Defined in: obsidian.d.ts:1453
Parameters
evt
args
unknown
[]
Returns
void
Inherited from
updateTabHeaders()
updateTabHeaders():
void
Defined in: src/obsidian/internals/InternalPlugins/Bookmarks/BookmarksPluginInstance.d.ts:60
Returns
void