Search
Preparing search index...
The search index is not available
ngl
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
KeyBehavior
Class KeyBehavior
Hierarchy
KeyBehavior
Index
Constructors
constructor
Properties
controls
dom
Element
stage
viewer
Methods
_focus
Dom
Element
_on
Keydown
_on
Keypress
_on
Keyup
dispose
Constructors
constructor
new
Key
Behavior
(
stage
:
Stage
)
:
KeyBehavior
Parameters
stage:
Stage
the stage object
Returns
KeyBehavior
Properties
controls
controls
:
KeyControls
dom
Element
dom
Element
:
HTMLCanvasElement
stage
stage
:
Stage
the stage object
viewer
viewer
:
Viewer
Methods
_focus
Dom
Element
_focus
Dom
Element
(
)
:
void
Returns
void
_on
Keydown
_on
Keydown
(
)
:
void
handle key down
Returns
void
_on
Keypress
_on
Keypress
(
event
:
KeyboardEvent
)
:
void
handle key press
Parameters
event:
KeyboardEvent
key event
Returns
void
_on
Keyup
_on
Keyup
(
)
:
void
handle key up
Returns
void
dispose
dispose
(
)
:
void
Returns
void
Globals
Key
Behavior
constructor
controls
dom
Element
stage
viewer
_focus
Dom
Element
_on
Keydown
_on
Keypress
_on
Keyup
dispose
Generated using
TypeDoc