import { IValidationController, ValidationResultsSubscriber, ValidationEvent, ValidationResultTarget } from '../validation-controller'; /** * A validation errors subscriber in form of a custom attribute. * * It registers itself as a subscriber to the validation controller available for the scope. * The target controller can be bound via the `@bindable controller`; when omitted it takes the controller currently registered in the container. * * The set of errors related to the host element or the children of it , are exposed via the `@bindable errors`. * * @example * ```html *