Class NavHtmlBuilder

Build the nav and footer HTMLElements for all the HTML pages

Source : file NavHtmlBuilder.js at line 36

Constructor

new NavHtmlBuilder ( )

The constructor

Source : file NavHtmlBuilder.js at line 56

Public getters and setters

readonly get footer : String

The footer to be inserted in the html pages

Source : file NavHtmlBuilder.js at line 137

Public methods

build ( rootPath )

Build the nav html element for an html page

Source : file NavHtmlBuilder.js at line 105

Parameters

Name Type Description
rootPath String

The path between the file where the nav will be inserted and theConfig.destDir ( something like '../../../', depending of the folders tree )

Returns

The nav html
Type : String

Private properties

#navHtml : String

The navigation html string

Source : file NavHtmlBuilder.js at line 50

#rootPath : String

The path between the html file and theConfig.destDir ( something like '../../../', depending of the folders tree )

Source : file NavHtmlBuilder.js at line 43

Private methods

#buildList ( links )

Add the li html elements to the nav html string for variables and classes

Source : file NavHtmlBuilder.js at line 65

Parameters

Name Type Description
links Array of Array of String

The links to add

#buildSourcesList ( links )

Add the li html elements to the nav html string for source files

Source : file NavHtmlBuilder.js at line 83

Parameters

Name Type Description
links Array of Array of String

The links to add