Hierarchy

  • InputInfo

Constructors

Properties

Accessors

Methods

Constructors

Properties

catalyst: InputCatalyst
startTarget: default<HTMLElement>

The component that this input began in.

startTime: number = ...

The unix timestamp representing when this input began. If this is a "down" event, the value will be Date.now(), whereas if this is a "holding" or "up" event, the value will be when the "down" event fired.

touch: boolean

Whether this input was a touch input

Accessors

  • get duration(): number
  • The number of milliseconds that have elapsed since startTime. Calculated on the fly.

    Returns number

Methods

  • Parameters

    • Optional component: default<HTMLElement>

    Returns undefined | boolean

Generated using TypeDoc