Methods

hide ():Void

Hide virtual keyboard (if it exists).

notify (downListener:KeyCode ‑> Void, upListener:KeyCode ‑> Void, ?pressListener:String ‑> Void):Void

Creates event handlers from passed functions.

Parameters:

downListener

function with key:KeyCode argument, fired when a key is pressed down.

upListener

function with key:KeyCode argument, fired when a key is released.

pressListener

(optional) function with char:String argument, fired when a key that produces a character value is pressed down.

remove (downListener:KeyCode ‑> Void, upListener:KeyCode ‑> Void, pressListener:String ‑> Void):Void

Removes event handlers from the passed functions that were passed to notify function.

show ():Void

Show virtual keyboard (if it exists).

Static methods

staticget (num:Int = 0):Keyboard

Get current Keyboard.

Parameters:

num

(optional) keyboard id (0 by default).

Inherited Variables

Inherited Methods

Defined by Controller

_id ():Int