Class: KeyboardOptions

rune.input.KeyboardOptions(optionsopt)

The KeyboardOptions class contains properties that represent keyboard class settings.

Constructor

new KeyboardOptions(optionsopt)

Creates a new instance of the KeyboardOptions class.
Parameters:
Name Type Attributes Description
options Object <optional>
Keyboard settings.
Source:

Members

enable :boolean

Whether the keyboard should be activated or not. An inactive keyboard, registers no input.
Type:
  • boolean
Default Value:
  • false
Source:

target :Object

The EventTarget object to which the keyboard event listener must be registered.
Type:
  • Object
Default Value:
  • window
Source: