Module: ko/ui/listitem

ko/ui listitem element

This module inherits methods and properties from the module it extends.

Example

var listitem = require("ko/ui/listitem").create("An Item");
var listbox = require("ko/ui/listbox").create();
listbox.addListItem(listitem);
Author:
  • NathanR, CareyH
License:
  • Mozilla Public License v. 2.0

Extends

Classes

Model()

Methods


require("ko/ui/listitem").create( [options])

Create a new listitem UI element

Parameters:
Name Type Argument Description
options object <optional>

An object containing attributes and options

Returns:
Type
module:ko/ui/listitem~Model