Class type Ext_util_KeyMap.configs


class type configs = object .. end
Inherits
method binding : 'a. 'a Js.t Js.prop

Either a single object describing a handling function for s specified key (or set of keys), or an array of such objects.


method eventName : Js.js_string Js.t Js.prop

The event to listen for to pick up key events.

Defaults to: 'keydown'

method ignoreInputFields : bool Js.t Js.prop

Configure this as true if there are any input fields within the target, and this KeyNav should not process events from input fields, (<input>, <textarea> and elements withcontentEditable="true"`)

Defaults to: false

method processEvent : 'b. 'b Js.callback Js.prop

An optional event processor function which accepts the argument list provided by the configured event of the target, and returns a keyEvent for processing by the KeyMap.

This may be useful when the target is a Component with s complex event signature, where the event is not the first parameter. Extra information from the event arguments may be injected into the event for use by the handler functions before returning it.


method processEventScope : 'c. 'c Js.t Js.prop

The scope (this context) in which the processEvent method is executed.

Defaults to: this

method target : 'd. 'd Js.t Js.prop

The object on which to listen for the event specified by the eventName config option.