mirror of
https://github.com/photonstorm/phaser
synced 2024-12-18 17:16:03 +00:00
9 lines
413 B
TypeScript
9 lines
413 B
TypeScript
/**
|
|
* Sets the user-select property on the canvas style. Can be used to disable default browser selection actions.
|
|
*
|
|
* @method Phaser.Canvas.setUserSelect
|
|
* @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;
|