Clear Up
SharpKit Reference

KeyNavConfig Class

Namespace: Ext.util

Base Types



Name Description


Name Description
defaultEventAction The method to call on the Ext.EventObject after this KeyNav intercepts a key. Valid values are Ext.EventObject.stopEvent, Ext.EventObject.preventDefault and Ext.EventObject.stopPropagation. If a falsy value is specified, no method is called on the key event. Defaults to: "stopEvent"
disabled True to disable this KeyNav instance. Defaults to: false
eventName The event to listen for to pick up key events. Defaults to: "keypress"
forceKeyDown Handle the keydown event instead of keypress. KeyNav automatically does this for IE since IE does not propagate special keys on keypress, but setting this to true will force other browsers to also handle keydown instead of keypress. Defaults to: false
ignoreInputFields 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
processEvent 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. Extra information from the event arguments may be injected into the event for use by the handler functions before returning it.
processEventScope The scope (this context) in which the processEvent method is executed. Defaults to: this
target The object on which to listen for the event specified by the eventName config option.
© Copyright 2005-2011 SharpKit. All rights reserved.