Events
Extended by
MetadataCache
Vault
Workspace
WorkspaceItem
ViewRegistry
EmbedRegistry
MetadataTypeManager
InternalPlugins
BookmarksPluginInstance
Constructors
new Events()
new Events():
Events
Returns
Properties
_
_:
Record
<string
,EventsEntry
[]>
Methods
off()
off(
name
,callback
):void
Parameters
• name: string
• callback
Returns
void
offref()
offref(
ref
):void
Parameters
• ref: EventRef
Returns
void
on()
on(
name
,callback
,ctx
?):EventRef
Parameters
• name: string
• callback
• ctx?: any
Returns
trigger()
trigger(
name
, …data
):void
Parameters
• name: string
• …data: unknown
[]
Returns
void
tryTrigger()
tryTrigger(
evt
,args
):void
Parameters
• evt: EventRef
• args: unknown
[]
Returns
void