EventRef
Official
Event reference
Import:
import type { EventRef } from 'obsidian';Signature:
export interface EventRefProperties
| Property | Type | Description | |
|---|---|---|---|
| ctx? | unknown | Context applied to the event callback. | |
| e | Events | Events object the event was registered on. | |
| name | string | Event name the event was registered on. |
Methods
| Method | Returns | Description | |
|---|---|---|---|
| fn(arg?) | void | Function to be called on event trigger on the events object. |
Links to this page:
- AudioRecorderPlugin
- BacklinkComponent
- BacklinkPlugin
- BasesContext
- BasesController
- BasesPlugin
- BasesQueryQueue
- BasesSearchMenu
- BasesView
- BookmarksPlugin
- BookmarksPluginInstance
- CanvasIndex
- CanvasPlugin
- CommandPalettePlugin
- Commands
- Component
- CustomCSS
- DailyNotesPlugin
- DeferredView
- EditorStatusPlugin
- EmbedComponent
- EmbeddedEditorView
- EmbedImageComponent
- EmbedMarkdownComponent
- EmbedPdfComponent
- EmbedRegistry
- EmbedVideoComponent
- Events
- FileExplorerPlugin
- FileExplorerView
- FileRecoveryPlugin
- FootnotesPlugin
- GlobalSearchPlugin
- GraphPlugin
- HoverPopover
- InternalPlugin
- InternalPlugins
- MarkdownBaseView
- MarkdownImporterPlugin
- MarkdownPreviewEvents
- MarkdownPreviewView
- MarkdownRenderChild
- MarkdownRenderer
- MarkdownScrollableEditView
- Menu
- MetadataCache
- MetadataEditor
- MetadataEditorProperty
- MetadataTypeManager
- NoteComposerPlugin
- OutgoingLinkPlugin
- OutlinePlugin
- PagePreviewPlugin
- Plugin
- Plugins
- PropertiesPlugin
- PublishPlugin
- QueryController
- RandomNotePlugin
- SearchView
- SecretStorage
- SlashCommandPlugin
- SlidesPlugin
- SwitcherPlugin
- SyncPlugin
- SyncView
- TableCellEditor
- TableView
- TagPanePlugin
- TagView
- TemplatesPlugin
- TypedWorkspaceLeaf
- Vault
- View
- ViewRegistry
- WebviewerPlugin
- WidgetEditorView
- WordCountPlugin
- Workspace
- WorkspaceItem
- WorkspaceLeaf
- WorkspaceParent
- WorkspaceSplit
- WorkspacesPlugin
- WorkspaceTabs
- ZkPrefixerPlugin