Interface: InfiniteCanvasEventHandlers
Hierarchy
GlobalEventHandlers
↳
InfiniteCanvasEventHandlers
Properties
ondraw
• ondraw: (this
: InfiniteCanvas
, event
: TransformationEvent
) => any
The event handler property for the EventMap.draw event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | TransformationEvent |
Returns
any
Defined in
ontouchignored
• ontouchignored: (this
: InfiniteCanvas
, event
: Event
) => any
The event handler property for the EventMap.touchignored event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | Event |
Returns
any
Defined in
ontransformationchange
• ontransformationchange: (this
: InfiniteCanvas
, event
: TransformationEvent
) => any
The event handler property for the EventMap.transformationchange event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | TransformationEvent |
Returns
any
Defined in
ontransformationend
• ontransformationend: (this
: InfiniteCanvas
, event
: TransformationEvent
) => any
The event handler property for the EventMap.transformationend event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | TransformationEvent |
Returns
any
Defined in
ontransformationstart
• ontransformationstart: (this
: InfiniteCanvas
, event
: TransformationEvent
) => any
The event handler property for the EventMap.transformationstart event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | TransformationEvent |
Returns
any
Defined in
onwheelignored
• onwheelignored: (this
: InfiniteCanvas
, event
: Event
) => any
The event handler property for the EventMap.wheelignored event
Type declaration
▸ (this
, event
): any
Parameters
Name | Type |
---|---|
this | InfiniteCanvas |
event | Event |
Returns
any
Defined in
Methods
addEventListener
▸ addEventListener<K
>(type
, listener
, options?
): void
See addEventListener
Type parameters
Name | Type |
---|---|
K | extends keyof EventMap |
Parameters
Name | Type |
---|---|
type | K |
listener | (this : InfiniteCanvas , ev : EventMap [K ]) => any |
options? | boolean | AddEventListenerOptions |
Returns
void
Overrides
GlobalEventHandlers.addEventListener
Defined in
▸ addEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | AddEventListenerOptions |
Returns
void
Overrides
GlobalEventHandlers.addEventListener
Defined in
removeEventListener
▸ removeEventListener<K
>(type
, listener
, options?
): void
Type parameters
Name | Type |
---|---|
K | extends keyof EventMap |
Parameters
Name | Type |
---|---|
type | K |
listener | (this : InfiniteCanvas , ev : EventMap [K ]) => any |
options? | boolean | EventListenerOptions |
Returns
void
Overrides
GlobalEventHandlers.removeEventListener
Defined in
▸ removeEventListener(type
, listener
, options?
): void
Parameters
Name | Type |
---|---|
type | string |
listener | EventListenerOrEventListenerObject |
options? | boolean | EventListenerOptions |
Returns
void
Overrides
GlobalEventHandlers.removeEventListener