Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: toArray()

toArray<T>(annotations?, setup?): Annotation[]

Converts the object containing component property metadata into an array. Internal use only.

Type Parameters

T extends object = any

Parameters

annotations?: Annotations<T>

the object containing component property metadata.

setup?: Partial<Partial<Omit<Annotation, "key">> & Pick<Annotation, "editor"> & BuilderOptions> = {}

the custom options for the component's property metadata builder.

Returns

Annotation[]

the metadata array of the component properties.

Stay in the know
Quickly Build Drag-and-Drop Forms
Star us on GitHub