Model()
The model for the row UI element, this is what model:ko/ui/listitem.create
returns
Properties:
Name | Type | Description |
---|---|---|
name |
string | The node name of the element |
element |
Element | A XUL listcell |
Extends
Methods
-
<static> addListCell(item)
-
Add a list cell to the container
Example
Object refers to an Options object used through this SDK. The options should contain an attributes property to assign a label at the very least: listcell = { attributes: { label:"itemLable" } }
Parameters:
Name Type Description item
mixed item to be added to the container. Can be String (label), ko/ui/
, ko/dom element, DOM element, option object. option object refers to an Options object used throughout this SDK. The options should contain an attributes property to assign a label at the very least: { label: "itemLabel" }