Skip to content

Interface: CustomEvent<T> ​

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

An event carrying data of the content's own (API 5)

Extends ​

Type Parameters ​

Type ParameterDefault type
Tany

Properties ​

bubbles ​

ts
readonly bubbles: boolean;

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

Always false

Inherited from ​

Event.bubbles


cancelable ​

ts
readonly cancelable: boolean;

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

Inherited from ​

Event.cancelable


currentTarget ​

ts
readonly currentTarget: unknown;

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

Inherited from ​

Event.currentTarget


defaultPrevented ​

ts
readonly defaultPrevented: boolean;

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

Inherited from ​

Event.defaultPrevented


detail ​

ts
readonly detail: T;

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

The init's detail, null by default


target ​

ts
readonly target: unknown;

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

Inherited from ​

Event.target


timeStamp ​

ts
readonly timeStamp: number;

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

performance.now() when the event was created

Inherited from ​

Event.timeStamp


type ​

ts
readonly type: string;

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

Inherited from ​

Event.type

Methods ​

preventDefault() ​

ts
preventDefault(): void;

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

Returns ​

void

Inherited from ​

Event.preventDefault


stopImmediatePropagation() ​

ts
stopImmediatePropagation(): void;

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

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:4766

Returns ​

void

Inherited from ​

Event.stopPropagation

The SDK is released under the Apache License 2.0