Events
Defined in: obsidian.d.ts:1432
Extended by
MetadataCache
Vault
Workspace
WorkspaceItem
EmbedRegistry
BookmarksPluginInstance
InternalPlugins
MetadataTypeManager
ViewRegistry
Constructors
new Events()
new Events():
Events
Returns
Properties
_
_:
Record
<string
,EventsEntry
[]>
Defined in: src/obsidian/augmentations/Events.d.ts:5
Methods
off()
off(
name
,callback
):void
Defined in: obsidian.d.ts:1441
Parameters
name
string
callback
(…data
) => unknown
Returns
void
offref()
offref(
ref
):void
Defined in: obsidian.d.ts:1445
Parameters
ref
Returns
void
on()
on(
name
,callback
,ctx
?):EventRef
Defined in: obsidian.d.ts:1437
Parameters
name
string
callback
(…data
) => unknown
ctx?
any
Returns
trigger()
trigger(
name
, …data
):void
Defined in: obsidian.d.ts:1449
Parameters
name
string
data
…unknown
[]
Returns
void
tryTrigger()
tryTrigger(
evt
,args
):void
Defined in: obsidian.d.ts:1453
Parameters
evt
args
unknown
[]
Returns
void