<static> setUserSelect(canvas, value) → {HTMLCanvasElement}
Sets the user-select property on the canvas style. Can be used to disable default browser selection actions.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
canvas | HTMLCanvasElement | The canvas to set the touch action on. | |
value | string | <optional> | The touch action to set. Defaults to 'none'. |
Returns
HTMLCanvasElement -
The source canvas.
- Source code: utils/Canvas.js (Line 85)
Please login to continue.