Skip to content

Interface: Event ​

Defined in: types/desktop-engine.d.ts:3922

An event, same as the global Event; events don't bubble, target and currentTarget are the same

Extends ​

Extended by ​

Properties ​

bubbles ​

ts
readonly bubbles: boolean;

Defined in: types/desktop-engine.d.ts:3710

Always false

Inherited from ​

Event.bubbles


cancelable ​

ts
readonly cancelable: boolean;

Defined in: types/desktop-engine.d.ts:3711

Inherited from ​

Event.cancelable


currentTarget ​

ts
readonly currentTarget: unknown;

Defined in: types/desktop-engine.d.ts:3708

Inherited from ​

Event.currentTarget


defaultPrevented ​

ts
readonly defaultPrevented: boolean;

Defined in: types/desktop-engine.d.ts:3714

Inherited from ​

Event.defaultPrevented


target ​

ts
readonly target: unknown;

Defined in: types/desktop-engine.d.ts:3707

Inherited from ​

Event.target


timeStamp ​

ts
readonly timeStamp: number;

Defined in: types/desktop-engine.d.ts:3713

performance.now() when the event was created

Inherited from ​

Event.timeStamp


type ​

ts
readonly type: string;

Defined in: types/desktop-engine.d.ts:3706

Inherited from ​

Event.type

Methods ​

preventDefault() ​

ts
preventDefault(): void;

Defined in: types/desktop-engine.d.ts:3715

Returns ​

void

Inherited from ​

Event.preventDefault


stopImmediatePropagation() ​

ts
stopImmediatePropagation(): void;

Defined in: types/desktop-engine.d.ts:3718

The listeners after this one aren't called

Returns ​

void

Inherited from ​

Event.stopImmediatePropagation


stopPropagation() ​

ts
stopPropagation(): void;

Defined in: types/desktop-engine.d.ts:3716

Returns ​

void

Inherited from ​

Event.stopPropagation

The SDK is released under the Apache License 2.0