Model()
The model for the menulist UI element, this is what model:ko/ui/menulist.create
returns
Properties:
Name | Type | Description |
---|---|---|
name |
string | The node name of the element |
element |
Element | A XUL menulist, see https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/menulist |
Extends
Methods
-
<static> onChange(callback)
-
Assign an onchange or onCommand eventhandler
Parameters:
Name Type Description callback
function The event handler.
-
<static> value( [value])
-
Return or set the current value of the element.
Parameters:
Name Type Argument Description value
String <optional>
value to be set
Returns:
the value of the element
- Type
- String