Constructor
new Form(props)
Instantiates a new Form
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
object |
Properties to initialize the Properties
|
Members
body :Array.<FormItem>
Sequence of
objects used to acquire information from userFormItem
footer :string
The footer of the form. It can be overwritten by each body component.
header :string
The header of the form. It can be overwritten by each body component.
meta :FormMeta
FormMeta`
object. Contains configuration flags.
method :string
HTTP method indicating how to trigger the callback path. Defaults to "POST"
.
path :string
The callback path used to send the serialized form data.
(readonly) type :string
Indicates the type of the object, defaults to "form"
Methods
(static) fromTag(formTag) → {Form}
Creates a Form from a FormTag
Parameters:
Name | Type | Description |
---|---|---|
formTag |
FormTag |