Class: FieldFactory

Picasso.form. FieldFactory

new FieldFactory()

A field factory
Source:

Members

<static> constructors :Object.<string, (string|Picasso.form.field.PicassoField.constructor)>

All the available field constructors Can be a method name or the function itself
Type:
  • Object.<string, (string|Picasso.form.field.PicassoField.constructor)>
Source:

Methods

create(field) → {Picasso.form.field.PicassoField}

Builds a field element
Parameters:
Name Type Description
field Picasso.pjo.Field
Source:
Returns:
The picasso field object
Type
Picasso.form.field.PicassoField