mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
10 lines
408 B
TypeScript
10 lines
408 B
TypeScript
|
/**
|
||
|
* Sets the touch-action property on the canvas style. Can be used to disable default browser touch actions.
|
||
|
*
|
||
|
* @method Phaser.Canvas.TouchAction
|
||
|
* @param {HTMLCanvasElement} canvas - The canvas to set the touch action on.
|
||
|
* @param {string} [value] - The touch action to set. Defaults to 'none'.
|
||
|
* @return {HTMLCanvasElement} The source canvas.
|
||
|
*/
|
||
|
export default function (canvas: any, value: any): any;
|