interface EventInstance<T> {
    effect: ((widget, ...args) => any);
    event: Event<T>;
}

Type Parameters

Properties

Properties

effect: ((widget, ...args) => any)

The effected function.

Type declaration

    • (widget, ...args): any
    • Parameters

      • widget: Widget

        the widget's self.

      • Rest ...args: []

        The external arguments/

      Returns any

event: Event<T>

The event object.