phaser - v4.0.0-rc.4
    Preparing search index...
    • Sets the user-select property on the canvas style. Can be used to disable default browser selection actions.

      Parameters

      • canvas: HTMLCanvasElement

        The canvas element to have the style applied to.

      • Optionalvalue: string

        The touch callout value to set on the canvas. Set to none to disable touch callouts. Default 'none'.

      Returns HTMLCanvasElement