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 | import * as ɵngcc0 from '@angular/core';
|
---|
13 | export declare type MatPseudoCheckboxState = 'unchecked' | 'checked' | 'indeterminate';
|
---|
14 | /**
|
---|
15 | * Component that shows a simplified checkbox without including any kind of "real" checkbox.
|
---|
16 | * Meant to be used when the checkbox is purely decorative and a large number of them will be
|
---|
17 | * included, such as for the options in a multi-select. Uses no SVGs or complex animations.
|
---|
18 | * Note that theming is meant to be handled by the parent element, e.g.
|
---|
19 | * `mat-primary .mat-pseudo-checkbox`.
|
---|
20 | *
|
---|
21 | * Note that this component will be completely invisible to screen-reader users. This is *not*
|
---|
22 | * interchangeable with `<mat-checkbox>` and should *not* be used if the user would directly
|
---|
23 | * interact with the checkbox. The pseudo-checkbox should only be used as an implementation detail
|
---|
24 | * of more complex components that appropriately handle selected / checked state.
|
---|
25 | * @docs-private
|
---|
26 | */
|
---|
27 | export declare class MatPseudoCheckbox {
|
---|
28 | _animationMode?: string | undefined;
|
---|
29 | /** Display state of the checkbox. */
|
---|
30 | state: MatPseudoCheckboxState;
|
---|
31 | /** Whether the checkbox is disabled. */
|
---|
32 | disabled: boolean;
|
---|
33 | constructor(_animationMode?: string | undefined);
|
---|
34 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatPseudoCheckbox, [{ optional: true; }]>;
|
---|
35 | static ɵcmp: ɵngcc0.ɵɵComponentDeclaration<MatPseudoCheckbox, "mat-pseudo-checkbox", never, { "state": "state"; "disabled": "disabled"; }, {}, never, never>;
|
---|
36 | }
|
---|
37 |
|
---|
38 | //# sourceMappingURL=pseudo-checkbox.d.ts.map |
---|