new ElementActions()
Element specific actions after the validation was binded to a specific event.
Methods
-
addPostValidationProcess(fn) → {JSValidator.Element.ElementActions}
-
ELEMENT API: Add post validation process This is the last end point of the validation process on the element event
Parameters:
Name Type Description fn
function The callback to execute behind the action Returns:
-
addPreValidationProcess(fn) → {JSValidator.Element.ElementActions}
-
ELEMENT API: Add pre validation process This is the first end point of the validation process on the element event
Parameters:
Name Type Description fn
function The callback to execute behind the action Returns:
-
bindFields(targetField) → {JSValidator.Field.FieldActions}
-
ELEMENT API: Start point to get FIELD API from ELEMENT API bind a group of fields to the element validation event, returning FIELD API for define specific fields actions
Parameters:
Name Type Description targetField
JSValidator.Field | Array.<JSValidator.Field> Returns: