Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
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 | /**
|
---|
9 | * Possible states for a pseudo checkbox.
|
---|
10 | * @docs-private
|
---|
11 | */
|
---|
12 | export declare type MatPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
|
---|
13 | /**
|
---|
14 | * Component that shows a simplified checkbox without including any kind of "real" checkbox.
|
---|
15 | * Meant to be used when the checkbox is purely decorative and a large number of them will be
|
---|
16 | * included, such as for the options in a multi-select. Uses no SVGs or complex animations.
|
---|
17 | * Note that theming is meant to be handled by the parent element, e.g.
|
---|
18 | * `mat-primary .mat-pseudo-checkbox`.
|
---|
19 | *
|
---|
20 | * Note that this component will be completely invisible to screen-reader users. This is *not*
|
---|
21 | * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly
|
---|
22 | * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail
|
---|
23 | * of more complex components that appropriately handle selected / checked state.
|
---|
24 | * @docs-private
|
---|
25 | */
|
---|
26 | export declare class MatPseudoCheckbox {
|
---|
27 | _animationMode?: string | undefined;
|
---|
28 | /** Display state of the checkbox. */
|
---|
29 | state: MatPseudoCheckboxState;
|
---|
30 | /** Whether the checkbox is disabled. */
|
---|
31 | disabled: boolean;
|
---|
32 | constructor(_animationMode?: string | undefined);
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.