Utilities & Internals
Overview
Metadata Registry
validationRulesRegistrar
const validationRulesRegistrar = {
// Store validation rules for a target
set(target: IValidateable, rules: IPropertyRule[], tag?: string): void;
// Retrieve validation rules for a target
get(target: IValidateable, tag?: string): PropertyRule[] | undefined;
// Remove validation rules from a target
unset(target: IValidateable, tag?: string): void;
// Check if validation rules are set for a target
isValidationRulesSet(target: IValidateable): boolean;
// Default rule set name
defaultRuleSetName: '__default';
}Validation Event System
ValidationEvent
ValidationResultTarget
BindingInfo
Validation Result Classes
ValidationResult
ControllerValidateResult
Utility Functions
parsePropertyName
Property Accessor
PropertyAccessor
Interfaces for Plugin Authors
IValidationVisitor
ValidationResultsSubscriber
Best Practices
When to Use Internals
When NOT to Use Internals
Important Considerations
See Also
Last updated
Was this helpful?