Class: ChildrenHandler

(abstract) childApplicators~ChildrenHandler(parent)

The abstract handler for child applicator containers.

Constructor

(abstract) new ChildrenHandler(parent)

Class constructor.

Parameters:
Name Type Description
parent module:formElement~FormElement

The parent form element containing the child applicator containers to be handled.

Source:

Members

addButtons :Set

The set of add buttons associated to the handled child applicator containers.

Type:
  • Set
Source:

applicators :object.<string, module:childApplicators~ChildApplicator>

The handled child applicator containers.

Type:
Source:

domElement :HTMLDivElement

Reference to the DOM object that contains the HTML structure of the component.

Type:
  • HTMLDivElement
Source:

parent :module:formElement~FormElement

The parent form element containing the handled child applicator containers.

Type:
Source:

removeButtons :Set

The set of remove buttons associated to the child form elements.

Type:
  • Set
Source:

Methods

disable()

Disables all the child applicator containers.

Source:

disableAddButtons()

Disables the add buttons from all the child applicator containers.

Source:

disableRemoveButtons()

Disables the remove buttons from all the child form elements.

Source:

enable()

Enables all the child applicator containers.

Source:

enableAddButtons()

Enables the add buttons from all the child applicator containers.

Source:

enableRemoveButtons()

Enables the remove buttons from all the child form elements.

Source:

getChildCount() → {number}

Returns the total count of child form elements from all the different child applicator containers.

Source:
Returns:

The total count of child form elements.

Type
number