Last change
on this file since eed0bf8 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 | */
|
---|
8 | import { Provider } from '@angular/core';
|
---|
9 | import { CheckboxRequiredValidator } from '@angular/forms';
|
---|
10 | export 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 | */
|
---|
19 | export declare class MatSlideToggleRequiredValidator extends CheckboxRequiredValidator {
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.