Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyboardInfoPre

This class is used to store keyboard related info for the onPreKeyboardObservable event. Set the skipOnKeyboardObservable property to true if you want the engine to stop any process after this event is triggered, even not calling onKeyboardObservable

Hierarchy

Index

Constructors

constructor

  • Instantiates a new keyboard pre info. This class is used to store keyboard related info for the onPreKeyboardObservable event.

    Parameters

    • type: number

      Defines the type of event (KeyboardEventTypes)

    • event: IKeyboardEvent

      Defines the related dom event

    Returns KeyboardInfoPre

Properties

eventSearch playground for event

Defines the related dom event

skipOnKeyboardObservableSearch playground for skipOnKeyboardObservable

skipOnKeyboardObservable: boolean

Defines whether the engine should skip the next onKeyboardObservable associated to this pre.

typeSearch playground for type

type: number

Defines the type of event (KeyboardEventTypes)

Accessors

skipOnPointerObservable

  • get skipOnPointerObservable(): boolean
  • set skipOnPointerObservable(value: boolean): any
  • Defines whether the engine should skip the next onKeyboardObservable associated to this pre.

    deprecated

    use skipOnKeyboardObservable property instead

    Returns boolean

  • Defines whether the engine should skip the next onKeyboardObservable associated to this pre.

    deprecated

    use skipOnKeyboardObservable property instead

    Parameters

    • value: boolean

    Returns any

Legend

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