Type Definitions
ChildModel
Type:
Properties:
Name |
Type |
Description |
$parent |
Collection
|
Link to the parent instance of the child (eg; the Collection instance) |
- Source:
SingletonField(valopt) → {Singleton}
Parameters:
Name |
Type |
Attributes |
Description |
val |
|
<optional>
|
If provided, will be used as the field's new value. If not provided, method acts as a getter |
Properties:
Name |
Type |
Description |
$errors |
object
|
Contains details about any error states on the field |
$config |
object
|
Contains the configuration for this field |
valid |
SingletonFieldValidator
|
Validates the field's value against the field definition |
- Source:
Returns:
`this`
-
Type
-
Singleton
SingletonFieldValidator() → {boolean}
- Source:
Returns:
`true` if the value is currently valid; else `false`
-
Type
-
boolean