Class: InPlaceApplicator

inPlaceApplicators~InPlaceApplicator(subschemas, selected)

Class representing a JSON Schema in-place applicator.

Constructor

new InPlaceApplicator(subschemas, selected)

Class constructor.

Parameters:
Name Type Description
subschemas Array.<module:inPlaceApplicators~IPASchema>

The array of nodes representing the subschemas contained by the applicator.

selected number

The index indicating the subschema to be selected at initialization.

Source:

Members

selected :number

The index indicating the selected subschema.

Type:
  • number
Source:

subschemas :Array.<module:inPlaceApplicators~IPASchema>

The array of nodes representing the subschemas contained by the applicator.

Type:
Source:

Methods

getSelectedIpaSchema() → {module:inPlaceApplicators~IPASchema}

Retrieves the node representing the in-place applicator subschema that is currently selected.

Source:
Returns:

The selected node representing an in-place applicator subschema.

Type
module:inPlaceApplicators~IPASchema