Class: BuilderView
Represents all the metadata of the form builder components.
Extends
Constructors
new BuilderView()
new BuilderView(
builderComponents
):BuilderView
Creates metadata for form builder components.
Parameters
• builderComponents: BuilderComponent
[]
the array of metadata of form builder components.
Returns
Overrides
Properties
builderComponents
builderComponents:
BuilderComponent
[]
the array of metadata of form builder components.
Accessors
errors
Get Signature
get errors():
string
[]
Returns
string
[]
the array of strings with the names of the component types of the error.
tooltips
Get Signature
get tooltips():
string
[]
Returns
string
[]
the array of strings with the names of the component types of the tooltip.
viewerWrappers
Get Signature
get viewerWrappers():
FormViewerWrapper
[]
Retrieves the viewer wrappers array.
Returns
the viewer wrappers array.
Inherited from
Methods
all()
all():
Model
<any
>[]
Returns
Model
<any
>[]
all component metadata for the form viewer.
Inherited from
define()
define(
model
):void
Defines the component's metadata for the form viewer.
Parameters
• model: Model
<any
>
the component's metadata.
Returns
void
Inherited from
find()
find(
type
):undefined
|Model
<any
>
Returns the component's metadata for the form viewer for the specified type.
Parameters
• type: string
the component type.
Returns
undefined
| Model
<any
>
the component metadata for the form viewer for the specified type or undefined.
Inherited from
findMeta()
findMeta(
type
):undefined
|Meta
Returns the component metadata for the specified component type name or undefined.
Parameters
• type: string
the component type name.
Returns
undefined
| Meta
the component metadata for the specified component type name or undefined.
get()
get(
type
):Model
<any
>
Returns the component's metadata for the form viewer for the specified type.
Parameters
• type: string
the component type.
Returns
Model
<any
>
the component metadata for the form viewer for the specified type.
Inherited from
getCssLoaders()
getCssLoaders(
biDi
): () =>Promise
<void
>[]
Retrieves the CSS loaders for a given BiDi.
Parameters
• biDi: BiDi
the BiDi object for which to retrieve the CSS loaders.
Returns
() => Promise
<void
>[]
the array containing the CSS loaders for the specified BiDi.
Inherited from
getErrorAnnotations()
getErrorAnnotations(
name
):undefined
|Annotation
[]
Returns the array of metadata properties of the error component.
Parameters
• name: string
the name of the error component type.
Returns
undefined
| Annotation
[]
the array of metadata properties of the error component.