| 227 | standalone: false, |
| 228 | }) |
| 229 | export class MaxValidator extends AbstractValidatorDirective { |
| 230 | /** |
| 231 | * @description |
| 232 | * Tracks changes to the max bound to this directive. |
| 233 | */ |
| 234 | @Input() max!: string | number | null; |
| 235 | /** @internal */ |
| 236 | override inputName = 'max'; |
| 237 | /** @internal */ |
| 238 | override normalizeInput = (input: string | number): number => toFloat(input); |
| 239 | /** @internal */ |
| 240 | override createValidator = (max: number): ValidatorFn => maxValidator(max); |
| 241 | } |
| 242 | |
| 243 | /** |
| 244 | * @description |
nothing calls this directly
no test coverage detected
searching dependent graphs…