Skip to content

Class: FFZEvent<TData>

utilities/events.FFZEvent

Type parameters

Name
TData

Hierarchy

Constructors

constructor

new FFZEvent<TData>(data): FFZEvent<TData>

Type parameters

Name
TData

Parameters

NameType
dataTData

Returns

FFZEvent<TData>

Defined in

src/utilities/events.ts:397

Methods

_reset

_reset(): void

Returns

void

Defined in

src/utilities/events.ts:404


preventDefault

preventDefault(): void

Returns

void

Defined in

src/utilities/events.ts:413


stopPropagation

stopPropagation(): void

Returns

void

Defined in

src/utilities/events.ts:409


makeEvent

makeEvent<TData>(data): TypedFFZEvent<TData>

Create a new FFZEvent with proper type inheritence from the supplied data. This should always be used to construct an event instance, rather than creating the event manually.

Type parameters

NameType
TDataextends Record<string, any> = {}

Parameters

NameType
dataTData

Returns

TypedFFZEvent<TData>

Defined in

src/utilities/events.ts:390