Class: Properties

childApplicators~Properties(handler)

Constructor

new Properties(handler)

Parameters:
Name Type Description
handler module:childApplicators~ArrayHandler

The handler which the child applicator container will be added to.

Implements:
Source:

Members

childByIndex :Map.<number, module:formElement~FormElement>

A map to all contained child JSON Schema objects indexed by an number value.

Type:
Implements:
Source:

childrenDiv :HTMLDivElement

Reference to the <div> element containing the form element representation of all child JSON Schema objects.

Type:
  • HTMLDivElement
Implements:
Source:

domElement :HTMLDivElement

Reference to the DOM object that contains the HTML structure of the JSON Schema child applicator.

Type:
  • HTMLDivElement
Implements:
Source:

handler :module:childApplicators~ChildrenHandler

The handler that includes the child applicator container.

Type:
Implements:
Source:

Methods

addChild()

Adds a new child JSON Schema form element to the container.

Implements:
Source:

disable()

Disables the child applicator container.

Implements:
Source:

enable()

Enables the child applicator container.

Implements:
Source:

getChildInstance() → {object}

Returns the part of the JSON instance that corresponds to the given JSON Schema child applicator.

Implements:
Source:
Returns:

The portion related to the given child applicator of the complete JSON Schema instance.

Type
object

removeChild(index)

Removes a child JSON Schema form element from the container.

Parameters:
Name Type Description
index number

The key mapping to the child form element to be removed.

Implements:
Source: