Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDeviceEvent

Interface for Observables in DeviceInputSystem

Hierarchy

Index

Properties

currentStateSearch playground for currentState

currentState: Nullable<number>

Current state of given input

Optional currentTargetSearch playground for currentTarget

currentTarget: any

Current target for an event

deviceSlotSearch playground for deviceSlot

deviceSlot: number

Device slot

deviceTypeSearch playground for deviceType

deviceType: DeviceType

Device type

inputIndexSearch playground for inputIndex

inputIndex: number

Input array index

preventDefaultSearch playground for preventDefault

preventDefault: () => void

Tells user agent what to do when not explicitly handled

Type declaration

    • (): void
    • Returns void

previousStateSearch playground for previousState

previousState: Nullable<number>

Previous state of given input

Optional srcElementSearch playground for srcElement

srcElement: any

Alias for target

deprecated

targetSearch playground for target

target: any

Reference to object where object was dispatched

typeSearch playground for type

type: string

Type of event

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method