Model()
The model for the container UI element, this is what model:ko/ui/container.create
returns
Properties:
Name | Type | Description |
---|---|---|
name |
string | The node name of the element |
element |
Element | A XUL container, see https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/hbox |
Extends
Methods
-
<static> add(appendElement, options)
-
Insert an element to the page
Parameters:
Name Type Description appendElement
Element | array | object | string Element(s) to be appended. This can be a DOM element, ko/dom element or even just the name of an element. See
module:ko/dom~QueryObject.hide
for more information. If this is a simple object then it will be used as the options paramoptions
object options to be used on element, OPTIONAL
-
<static> addColumn(appendElement, options)
-
Insert a column of content to the page
Parameters:
Name Type Description appendElement
Element | array | object | string Element(s) to be appended. This can be a DOM element, ko/dom element or even just the name of an element. See
module:ko/ui/element~Model.addElement
for more information. If this is a simple object then it will be used as the options paramoptions
object options to be used on element, OPTIONAL
Returns:
-
<static> addGroupbox(appendElement, options)
-
Insert a groupbox into the page
Parameters:
Name Type Description appendElement
Element | array | object | string Element(s) to be appended. This can be a DOM element, ko/dom element or even just the name of an element. See
module:ko/ui/element~Model.addElement
for more information. If this is a simple object then it will be used as the options paramoptions
object options to be used on element, OPTIONAL
Returns:
-
<static> addRow(appendElement, options)
-
Insert a row of content to the page
Parameters:
Name Type Description appendElement
Element | array | object | string Element(s) to be appended. This can be a DOM element, ko/dom element or even just the name of an element. See
module:ko/ui/element~Model.addElement
for more information. If this is a simple object then it will be used as the options paramoptions
object options to be used on element, OPTIONAL
Returns: