Methods
notify (downListener:KeyCode ‑> Void, upListener:KeyCode ‑> Void, ?pressListener:String ‑> Void):Void
Creates event handlers from passed functions.
Parameters:
downListener | function with |
---|---|
upListener | function with |
pressListener | (optional) function with |