undefined

API Docs for: 5.4.2
Show:

BricksChoiceBrick Class

Module: Bricks
Parent Module: Utils

Bricks is a static collection of form controls rolled into prototypical objects with extra functions available. The main purpose is to use them in the choice tree for adding datasets but they can be reused anywhere where form controls are required.

Imports RAMP Modules:

Util
TmplHelper
Array
Dictionary

Uses RAMP Templates:

templates/bricks_template.json

Item Index

Methods

Methods

template

(
  • key
  • data
)
JObject private

Generates a template node based on the name of the template and the data to be passed to the template engine. The set of brick templates is suppled to the TmplHelper module.

Parameters:

  • key String

    template name

  • data Object

    any data that should be passed to the template engine

Returns:

JObject:

a generated template nodes