Global

Members

(constant) defaultFormOptions

The default options used to build the form.

Properties:
Name Type Description
formId
bootstrap
fontAwesome
maxEnumTabs
maxSelectSize
booleanTranslateFunction
arraySubstitute
objectSubstitute
submitButtonText
initTogglersOff
arrayItemTitle
adHocOptions
Source:

(constant) formElementByDiv :WeakMap.<HTMLDivElement, module:formElement~FormElement>

A global map holding weak references from the DOM elements to its represented module:formElement~FormElement objects.

Type:
Source:

Methods

lcm(…numbers) → {number}

Calculates the least common multiple of a list of numbers.

Parameters:
Name Type Attributes Description
numbers Array.<number> <repeatable>

The array of numbers.

Source:
Returns:

The result of the least common multiple calculation.

Type
number

pointerToId(pointer) → {string}

Builds a string with a format suitable for its use as an HTML id tag attribute.

Parameters:
Name Type Description
pointer string

A JSON Pointer-like string that provides unique identification of the JSON Schema being represented by the form element.

Source:
Returns:

The formatted string suitable for id tag attributes.

Type
string