source: trip-planner-front/node_modules/@angular/material/slide-toggle/slide-toggle-required-validator.d.ts@ ceaed42

Last change on this file since ceaed42 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 830 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Provider } from '@angular/core';
9import { CheckboxRequiredValidator } from '@angular/forms';
10export declare const MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR: Provider;
11/**
12 * Validator for Material slide-toggle components with the required attribute in a
13 * template-driven form. The default validator for required form controls asserts
14 * that the control value is not undefined but that is not appropriate for a slide-toggle
15 * where the value is always defined.
16 *
17 * Required slide-toggle form controls are valid when checked.
18 */
19export declare class MatSlideToggleRequiredValidator extends CheckboxRequiredValidator {
20}
Note: See TracBrowser for help on using the repository browser.