Interface

ValidationLifecycle

ValidationLifecycle

Provide messaging or actions to dispatch based on the lifecycle of the instance being validated

View Source interfaces/validation/ValidationLifecycle.ts, line 13

Members

object

# Invalid

isValid === false

Properties:
Name Type Attributes Description
Message string <optional>

Message to display if invalid

CB Array.<ValidationCB.<T>> <optional>

Actions to fire if invalid

View Source interfaces/validation/ValidationLifecycle.ts, line 27

object

# Valid

isValid === true

Properties:
Name Type Attributes Description
Message string <optional>

Message to display if valid

CB Array.<ValidationCB.<T>> <optional>

Actions to fire if valid

View Source interfaces/validation/ValidationLifecycle.ts, line 21