Skip to content

EventRef

Defined in: obsidian.d.ts:1425

Properties

ctx?

optional ctx: unknown

Defined in: src/obsidian/augmentations/EventRef.d.ts:8

Context applied to the event callback


e

e: Events

Defined in: src/obsidian/augmentations/EventRef.d.ts:12

Events object the event was registered on


name

name: string

Defined in: src/obsidian/augmentations/EventRef.d.ts:16

Event name the event was registered on

Methods

fn()

fn(…arg): void

Defined in: src/obsidian/augmentations/EventRef.d.ts:21

Function to be called on event trigger on the events object

Parameters

arg

unknown[]

Returns

void