TypedEvent
Defined in: event.ts:7
Extends
Section titled “Extends”Validator<Name,Schema,"event">
Type Parameters
Section titled “Type Parameters”Name extends string
Schema
Section titled “Schema”Schema extends StandardSchemaV1
Properties
Section titled “Properties”name: Name;Defined in: utils/types.ts:31
Inherited from
Section titled “Inherited from”schema
Section titled “schema”schema: Schema;Defined in: utils/types.ts:32
Inherited from
Section titled “Inherited from”target
Section titled “target”target: EventTarget;Defined in: event.ts:11
Methods
Section titled “Methods”dispatch()
Section titled “dispatch()”dispatch(input, options?): void;Defined in: utils/types.ts:28
Parameters
Section titled “Parameters”object & InferInput<Schema>
options?
Section titled “options?”Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”listen()
Section titled “listen()”listen(callback): () => void;Defined in: utils/types.ts:29
Parameters
Section titled “Parameters”callback
Section titled “callback”ListenerCallback<object & InferInput<Schema>, "event">
Returns
Section titled “Returns”() => void