Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 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 { InjectionToken } from '@angular/core';
|
---|
| 9 | import { ThemePalette } from '@angular/material/core';
|
---|
| 10 | /** Default `mat-checkbox` options that can be overridden. */
|
---|
| 11 | export interface MatCheckboxDefaultOptions {
|
---|
| 12 | /** Default theme color palette to be used for checkboxes. */
|
---|
| 13 | color?: ThemePalette;
|
---|
| 14 | /** Default checkbox click action for checkboxes. */
|
---|
| 15 | clickAction?: MatCheckboxClickAction;
|
---|
| 16 | }
|
---|
| 17 | /** Injection token to be used to override the default options for `mat-checkbox`. */
|
---|
| 18 | export declare const MAT_CHECKBOX_DEFAULT_OPTIONS: InjectionToken<MatCheckboxDefaultOptions>;
|
---|
| 19 | /** @docs-private */
|
---|
| 20 | export declare function MAT_CHECKBOX_DEFAULT_OPTIONS_FACTORY(): MatCheckboxDefaultOptions;
|
---|
| 21 | /**
|
---|
| 22 | * Checkbox click action when user click on input element.
|
---|
| 23 | * noop: Do not toggle checked or indeterminate.
|
---|
| 24 | * check: Only toggle checked status, ignore indeterminate.
|
---|
| 25 | * check-indeterminate: Toggle checked status, set indeterminate to false. Default behavior.
|
---|
| 26 | * undefined: Same as `check-indeterminate`.
|
---|
| 27 | */
|
---|
| 28 | export declare type MatCheckboxClickAction = 'noop' | 'check' | 'check-indeterminate' | undefined;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.