checkbox-config.d.ts 835 B

1234567891011121314151617181920
  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. /**
  10. * Checkbox click action when user click on input element.
  11. * noop: Do not toggle checked or indeterminate.
  12. * check: Only toggle checked status, ignore indeterminate.
  13. * check-indeterminate: Toggle checked status, set indeterminate to false. Default behavior.
  14. * undefined: Same as `check-indeterminate`.
  15. */
  16. export declare type MatCheckboxClickAction = 'noop' | 'check' | 'check-indeterminate' | undefined;
  17. /**
  18. * Injection token that can be used to specify the checkbox click behavior.
  19. */
  20. export declare const MAT_CHECKBOX_CLICK_ACTION: InjectionToken<MatCheckboxClickAction>;