BacklinkPluginInstance
Extends
Properties
app
app:
App
defaultOn
defaultOn:
boolean
description
description:
string
Inherited from
InternalPluginInstance
.description
file?
optional
file:null
|TFile
id
id:
string
Inherited from
name
name:
string
Inherited from
options
options:
object
backlinkInDocument?
optional
backlinkInDocument:boolean
plugin
plugin:
BacklinkPlugin
Methods
init()
init(
app
,plugin
):void
Parameters
• app: App
• plugin: BacklinkPlugin
Returns
void
Inherited from
initLeaf()
initLeaf():
void
Returns
void
onEnable()
onEnable(
app
,plugin
):Promise
<void
>
Parameters
• app: App
• plugin: BacklinkPlugin
Returns
Promise
<void
>
onExternalSettingsChange()
onExternalSettingsChange():
Promise
<void
>
Returns
Promise
<void
>
onFileMenu()
onFileMenu(
menu
,file
,title
,leaf
?):Menu
Parameters
• menu: Menu
• file: TAbstractFile
• title: string
• leaf?: WorkspaceLeaf
Returns
onFileOpen()
onFileOpen(
file
):void
Parameters
• file: TAbstractFile
Returns
void
onUserDisable()
onUserDisable(
app
):void
Parameters
• app: App
Returns
void
onUserEnable()
onUserEnable():
void
Returns
void
openBacklinksForActiveFile()
openBacklinksForActiveFile(
skipSplit
):undefined
|boolean
Parameters
• skipSplit: boolean
Returns
undefined
| boolean
toggleBacklinksInDocument()
toggleBacklinksInDocument(
skip
):undefined
|boolean
Parameters
• skip: boolean
Returns
undefined
| boolean
updateBacklinks()
updateBacklinks():
void
Returns
void