Constructordijit._KeyNavContainer

dojo.require("dijit._Container");
defined in dijit/_Container.js

Usage

function ()

Jump to PropertiesFunctionsBack to top

FunctionaddChild(widget, insertIndex: Integer?)
Overrides dijit._Container
Add a child to our _Container
FunctionconnectKeyNavHandlers(prevKeyCodes: Array, nextKeyCodes: Array)
Call in postCreate() to attach the keyboard handlers to the container. preKeyCodes: Array Key codes for navigating to the previous child.
Default focus() implementation: focus the first child.
FunctionfocusChild(widget, node: Node?)
Focus widget. Optionally focus 'node' within widget.
Focus the first focusable child in the container.
Focus the next widget or focal node (for widgets with multiple focal nodes) within this container.
Focus the previous widget or focal node (for widgets with multiple focal nodes) within this container.
Defined by dijit._Container
Returns array of children widgets
Defined by dijit._Container
Returns true if widget has children
FunctionremoveChild(widget)
Defined by dijit._Container
Removes the passed widget instance from this widget but does not destroy it
Call in startup() to set child tabindexes to -1
Defined by dijit._Container
Get the next or previous widget sibling of child
Function_onChildBlur(widget)
Called when focus leaves a child widget to go to a sibling widget.
Function_startupChild(widget)
Set tabindex="-1" on focusable widgets so that we can focus them programmatically and by clicking. Connect focus and blur handlers.

Jump to FunctionsPropertiesBack to top