Gluebert

Gluebert

Class represents Gluebert

Constructor

new Gluebert(modules, data, options)

Source:
Parameters:
Name Type Description
modules Array.<ModuleSignature>
data Array.<DataSignature>
options object

Methods

(private) _extractElements(modules) → {Array.<ElementSignature>}

Source:

extract elements list from modules

Parameters:
Name Type Description
modules Array.<ModuleSignature>
Returns:
Type
Array.<ElementSignature>

(private) _init()

Source:

start binding methods and properties

setSchemaValidator(schemaValidator) → {Gluebert}

Source:

set JSON Schema validator Gluebert uses for elements

Parameters:
Name Type Description
schemaValidator
Returns:
Type
Gluebert

setTemplateEngine(templateEngine) → {Gluebert}

Source:

set template engine

Parameters:
Name Type Description
templateEngine
Returns:
Type
Gluebert