Components Interactions Examples Tutorials API FAQ
Options
Menu

Hierarchy

Index

Constructors

constructor

  • new Key(): Key

Properties

Protected _eventToProcessingFunction

_eventToProcessingFunction: object

Type declaration

  • [eventName: string]: function
      • (e: Event): any
      • Parameters

        • e: Event

        Returns any

Static Private _DISPATCHER_KEY

_DISPATCHER_KEY: any

Static Private _KEYDOWN_EVENT_NAME

_KEYDOWN_EVENT_NAME: any

Static Private _KEYUP_EVENT_NAME

_KEYUP_EVENT_NAME: any

Methods

Protected _addCallbackForEvent

  • _addCallbackForEvent(eventName: string, callback: Function): void

Protected _callCallbacksForEvent

  • _callCallbacksForEvent(eventName: string, ...args: any[]): void

Private _processKeydown

  • _processKeydown(event: any): any

Private _processKeyup

  • _processKeyup(event: any): any

Protected _removeCallbackForEvent

  • _removeCallbackForEvent(eventName: string, callback: Function): void

offKeyDown

offKeyUp

onKeyDown

onKeyUp

Static getDispatcher

  • getDispatcher(): Key
  • Gets a Key Dispatcher. If one already exists it will be returned; otherwise, a new one will be created.

    Returns Key

Generated using TypeDoc