Module: ko/ui/listbox

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()
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

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:
Type
module:ko/ui/listbox~Model