/
githubmirror
/
components
Обзор
Документация
Войти
/
githubmirror
/
components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/material/chips/chip-text-control.ts
31 строка
855 B
Karan Mistry
docs(material/form-field): update documentation to replace 'mat-chip-list' with 'mat-chip-grid' (#30830)
13 авг 2025, 03:19
Не верифицирован
13 авг 2025, 03:19
3cf5bb7
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ /** Interface for a text control that is used to drive interaction with a mat-chip-grid. */ export interface MatChipTextControl { /** Unique identifier for the text control. */ id: string; /** The text control's placeholder text. */ placeholder: string; /** Whether the text control has browser focus. */ focused: boolean; /** Whether the text control is empty. */ empty: boolean; /** Focuses the text control. */ focus(): void; /** Gets the list of ids the input is described by. */ readonly describedByIds?: string[]; /** Sets the list of ids the input is described by. */ setDescribedByIds(ids: string[]): void; }