ko/ui listbox element
This module inherits methods and properties from the module it extends.
Example
var panel = require("ko/ui/panel").create(); var listbox = require("ko/ui/listbox").create(); panel.addColumn(listbox); listbox.addListHeader("Good food"); listbox.addListCol({width:200}); listbox.addListItem("Still pizza"); panel.open()
- Copyright:
-
- (c) 2017 ActiveState Software Inc.
- License:
-
- Mozilla Public License v. 2.0
Extends
Classes
Methods
-
require("ko/ui/listbox").create( [options])
-
Create a new listbox UI element
Parameters:
Name Type Argument Description options
object <optional>
An object containing attributes and options
Returns: