input.setTouchAction
setTouchAction(element: HTMLCanvasElement, value: string) → {}
enable/disable all gestures on the given element.
by default melonJS will disable browser handling of all panning and zooming gestures.
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
element | HTMLCanvasElement | |||
value | string |
<optional> |
"none" |
Type | Description |
---|