Skip to content

Interface: InfiniteCanvasEventHandlers

Hierarchy

  • GlobalEventHandlers

    InfiniteCanvasEventHandlers

    ↳↳ InfiniteCanvas

Properties

ondraw

ondraw: (this: InfiniteCanvas, event: TransformationEvent) => any

The event handler property for the EventMap.draw event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventTransformationEvent
Returns

any

Defined in

infinite-canvas.ts:24


ontouchignored

ontouchignored: (this: InfiniteCanvas, event: Event) => any

The event handler property for the EventMap.touchignored event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventEvent
Returns

any

Defined in

infinite-canvas.ts:32


ontransformationchange

ontransformationchange: (this: InfiniteCanvas, event: TransformationEvent) => any

The event handler property for the EventMap.transformationchange event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventTransformationEvent
Returns

any

Defined in

infinite-canvas.ts:16


ontransformationend

ontransformationend: (this: InfiniteCanvas, event: TransformationEvent) => any

The event handler property for the EventMap.transformationend event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventTransformationEvent
Returns

any

Defined in

infinite-canvas.ts:20


ontransformationstart

ontransformationstart: (this: InfiniteCanvas, event: TransformationEvent) => any

The event handler property for the EventMap.transformationstart event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventTransformationEvent
Returns

any

Defined in

infinite-canvas.ts:12


onwheelignored

onwheelignored: (this: InfiniteCanvas, event: Event) => any

The event handler property for the EventMap.wheelignored event

Type declaration

▸ (this, event): any

Parameters
NameType
thisInfiniteCanvas
eventEvent
Returns

any

Defined in

infinite-canvas.ts:28

Methods

addEventListener

addEventListener<K>(type, listener, options?): void

See addEventListener

Type parameters

NameType
Kextends keyof EventMap

Parameters

NameType
typeK
listener(this: InfiniteCanvas, ev: EventMap[K]) => any
options?boolean | AddEventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.addEventListener

Defined in

infinite-canvas.ts:36

addEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | AddEventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.addEventListener

Defined in

infinite-canvas.ts:37


removeEventListener

removeEventListener<K>(type, listener, options?): void

See removeEventListener

Type parameters

NameType
Kextends keyof EventMap

Parameters

NameType
typeK
listener(this: InfiniteCanvas, ev: EventMap[K]) => any
options?boolean | EventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.removeEventListener

Defined in

infinite-canvas.ts:41

removeEventListener(type, listener, options?): void

Parameters

NameType
typestring
listenerEventListenerOrEventListenerObject
options?boolean | EventListenerOptions

Returns

void

Overrides

GlobalEventHandlers.removeEventListener

Defined in

infinite-canvas.ts:42