Skip to content
jheaglePublic

Repository files navigation

Forms and Quizzes

Functions

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.

text(nodeValue) ⇒ DomItem

Create the template of a DomItem

Kind: global function

Param Type
nodeValue string

node(nodeName, nodeValue, [children], [attributes]) ⇒ DomItem

Create the template of a DomItem

Kind: global function

Param Type Default
nodeName string
nodeValue string
[children] array []
[attributes] object {}

navigation([children], [className], [attributes]) ⇒ DomItem

Create a nav DomItem

Kind: global function

Param Type Default
[children] array []
[className] string | null "''"
[attributes] object {}

element(nodeName, [children], [className], [attributes]) ⇒ DomItem

Create the template of a DomItem

Kind: global function

Param Type Default
nodeName string
[children] array []
[className] string | null "''"
[attributes] object {}

quiz() ⇒ DomItem

Generates a menu with the provided index as the currently selected item.

Kind: global function

Releases

Packages

Used by

Contributors

Languages