|
|
|
_onBlur(
) :
void
Called magically when focus has shifted away from this widget and it's dropdown
|
|
|
|
_onDropDownBlur(
e
: Event
) :
void
Parameter |
Type |
Usage |
Description |
e |
Event |
required |
|
|
|
|
|
_onDropDownKeydown(
e
: Event
) :
void
Parameter |
Type |
Usage |
Description |
e |
Event |
required |
|
|
|
|
|
_onDropDownMouse(
e
: Event
) :
void
Callback when the user mouse clicks on the arrow icon, or presses the down
arrow key, to open the drop down.
Parameter |
Type |
Usage |
Description |
e |
Event |
required |
|
|
|
|
|
_onDropDownMouseup(
e
: Event
) :
void
Callback when the user lifts their mouse after mouse down on the arrow icon.
If the drop is a simple menu and the mouse is over the menu, we execute it, otherwise, we focus our
dropDown node. If the event is missing, then we are not
a mouseup event.
This is useful for the common mouse movement pattern
Parameter |
Type |
Usage |
Description |
e |
Event |
optional |
|
|
|
|
|
_onKey(
e
: Event
) :
void
Callback when the user presses a key on menu popup node
Parameter |
Type |
Usage |
Description |
e |
Event |
required |
|
|
|
|
|
_onKeyPress(
e
: Event
) :
void
Parameter |
Type |
Usage |
Description |
e |
Event |
required |
|
|
|
|
|
_setupDropdown(
) :
void
set up nodes and connect our mouse and keypress events
|
|
|
|
closeDropDown(
focus
: Boolean
) :
void
Closes the drop down on this widget
Parameter |
Type |
Usage |
Description |
focus |
Boolean |
required |
|
|
|
|
|
destroyDescendants(
) :
void
|
|
|
|
isLoaded(
) :
void
Returns whether or not the dropdown is loaded. This can
be overridden in order to force a call to loadDropDown().
|
|
|
|
loadDropDown(
loadCallback
: Function
) :
void
Loads the data for the dropdown, and at some point, calls
the given callback
Parameter |
Type |
Usage |
Description |
loadCallback |
Function |
required |
|
|
|
|
|
openDropDown(
) :
void
Opens the dropdown for this widget - it returns the
return value of dijit.popup.open
|
|
|
|
postCreate(
) :
void
|
|
|
|
toggleDropDown(
) :
void
Toggle the drop-down widget; if it is up, close it, if not, open it
|