API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceInputApplicationOptions

@codexo/exojs / core / stable

6
props
0
methods
0
events
Import
import { InputApplicationOptions } from '@codexo/exojs'
Properties6
allowNativeContextMenu?: boolean
Let the browser show its own context menu over the canvas. Default false - a right-click is normally a game input, not a request for the browser's menu. Independent of the engine's own contextmenu event, which is routed through the scene graph either way.
allowTextSelection?: boolean
Let the browser start a text selection from a drag on the canvas. Default false - a drag is normally a game gesture, and a stray selection highlight over the canvas is almost never wanted.
dragThreshold?: number
Distance in design pixels a press must travel before it turns into a drag on a draggable node. Default 8. Below it the press stays a click, so a draggable node can still be tapped without jittering.
pointerDistanceThreshold?: number
Source