preventDefaultOnKeyboard property

bool preventDefaultOnKeyboard
getter/setter pair

Prevents the browser's default behavior for keyboard events.

This value enabled or disables the default behavior for html keyboard events that are targeted on the Stage. If the value is true the browser will ignore the event. This does not affect the event propagation from the Stage to the display objects.

Implementation

bool preventDefaultOnKeyboard = false;