- text(nodeValue) ⇒
DomItem Create the template of a DomItem
- node(nodeName, nodeValue, [children], [attributes]) ⇒
DomItem Create the template of a DomItem
- navigation([children], [className], [attributes]) ⇒
DomItem Create a nav DomItem
- element(nodeName, [children], [className], [attributes]) ⇒
DomItem Create the template of a DomItem
- quiz() ⇒
DomItem Generates a menu with the provided index as the currently selected item.
Create the template of a DomItem
Kind: global function
| Param | Type |
|---|---|
| nodeValue | string |
Create the template of a DomItem
Kind: global function
| Param | Type | Default |
|---|---|---|
| nodeName | string |
|
| nodeValue | string |
|
| [children] | array |
[] |
| [attributes] | object |
{} |
Create a nav DomItem
Kind: global function
| Param | Type | Default |
|---|---|---|
| [children] | array |
[] |
| [className] | string | null |
"''" |
| [attributes] | object |
{} |
Create the template of a DomItem
Kind: global function
| Param | Type | Default |
|---|---|---|
| nodeName | string |
|
| [children] | array |
[] |
| [className] | string | null |
"''" |
| [attributes] | object |
{} |
Generates a menu with the provided index as the currently selected item.
Kind: global function