ICluster interface
đ Descriptionâ
Interface that describes a cluster within the form definition.
See the form definition interface for more information about clusters.
đ Type declarationâ
interface ICluster { id: string;Readonly type?: "nest" | "branch";ReadonlyOptional name?: string;ReadonlyOptional nodes?: INode[];ReadonlyOptional branches?: IBranch[];ReadonlyOptional reference?: string;ReadonlyOptional version?: string;ReadonlyOptional alias?: string;ReadonlyOptional readonly?: true;ReadonlyOptional }
đī¸ Propertiesâ
đˇī¸ aliasâ
Contains an alias for the cluster or subform.
Typeâ
string
đˇī¸ branchesâ
Contains the branches of the cluster.
Typeâ
đˇī¸ idâ
Specifies the unique identifier of the cluster.
Typeâ
string
đˇī¸ nameâ
Specifies the name of the cluster.
Typeâ
string
đˇī¸ nodesâ
Contains the nodes of the cluster.
Typeâ
đˇī¸ readonlyâ
Specifies if the nested branch (subform) is read-only. In that case, the subform cannot be edited in the builder.
Typeâ
true
Only define this property when the nested branch is read-only. If it's not read-only, omit the property.
đˇī¸ referenceâ
Specifies a reference for a cluster that is a nested branch (subform). This property can be used to track the origin of a subform when it was loaded from an external source. For example, the identifier of a subform can be stored in this property.
Typeâ
string
See the Subforms guide for more information.
đˇī¸ typeâ
Specifies the cluster type. Can be one of the following values:
nest: This cluster forms a nested branch (subform);branch: This cluster is used to construct a branch (the cluster cannot contain any nodes).
Typeâ
"nest" | "branch"
For regular clusters, this property should be omitted. It is only there if a cluster forms a nest or is a branch.
đˇī¸ versionâ
Specifies a version indicator for a cluster that is a nested branch (subform). This property can be used to track the origin of a subform when it was loaded from an external source. For example, the version number of a subform can be stored in this property.
Typeâ
string
See the Subforms guide for more information.