/website

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Repository for my personal website

Functions

menu(currentIndex)DomItem

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

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

menu(currentIndex) ⇒ DomItem

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

Kind: global function

Param Type Default
currentIndex number 1

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 "''"
[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 "''"
[attributes] object {}