chip-text-control.d.ts 695 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. /** Interface for a text control that is used to drive interaction with a mat-chip-list. */
  9. export interface MatChipTextControl {
  10. /** Unique identifier for the text control. */
  11. id: string;
  12. /** The text control's placeholder text. */
  13. placeholder: string;
  14. /** Whether the text control has browser focus. */
  15. focused: boolean;
  16. /** Whether the text control is empty. */
  17. empty: boolean;
  18. /** Focuses the text control. */
  19. focus(options?: FocusOptions): void;
  20. }