Skip to content

EventRef

Properties

ctx?

optional ctx: unknown

Context applied to the event callback


e

e: Events

Events object the event was registered on


name

name: string

Event name the event was registered on

Methods

fn()

fn(…arg): void

Function to be called on event trigger on the events object

Parameters

• …arg: unknown[]

Returns

void