MCPcopy Create free account
hub / github.com/angular/components / describedByIds

Method describedByIds

src/material/chips/chip-input.ts:223–228  ·  view source on GitHub ↗

* Implemented as part of MatChipTextControl. * @docs-private

()

Source from the content-addressed store, hash-verified

221 * @docs-private
222 */
223 get describedByIds(): string[] {
224 const element = this._elementRef.nativeElement;
225 const existingDescribedBy = element.getAttribute('aria-describedby');
226
227 return existingDescribedBy?.split(' ') || [];
228 }
229
230 setDescribedByIds(ids: string[]): void {
231 const element = this._elementRef.nativeElement;

Callers

nothing calls this directly

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected