Extends
Methods
-
getAttributes() → {Ojbect}
-
Normalise attributes
- Inherited From:
- Source:
Returns:
- Type
- Ojbect
-
getData() → {*}
-
- Inherited From:
- Source:
Returns:
- Type
- *
-
processData()
-
- Inherited From:
- Source:
- To Do:
-
- implement
-
renderAttributes(attrs) → {String}
-
Render attribute string
Parameters:
Name Type Description attrs
- Inherited From:
- Source:
Returns:
- Type
- String
-
setData(data)
-
Parameters:
Name Type Description data
- Inherited From:
- Source:
-
toHTML() → {string}
-
- Inherited From:
- Source:
Returns:
- Type
- string
-
toJSON() → {Object}
-
- Inherited From:
- Source:
Returns:
- Type
- Object
-
toString() → {String}
-
- Inherited From:
- Source:
Returns:
- Type
- String
-
validate(callback)
-
Execute all validators on the field data.
Parameters:
Name Type Description callback
function - Inherited From:
- Source:
-
validateSync() → {*|Boolean}
-
Validate a field synchronously will not work if one of the validators is async.
- Inherited From:
- Source:
Returns:
- Type
- * | Boolean