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

Method describedByIds

src/material/chips/chip-grid.ts:355–361  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

353 * @docs-private
354 */
355 get describedByIds(): string[] {
356 if (this._chipInput) {
357 return this._chipInput.describedByIds || [];
358 }
359 const existing = this._elementRef.nativeElement.getAttribute('aria-describedby');
360 return existing ? existing.split(' ') : [];
361 }
362
363 /**
364 * Implemented as part of MatFormFieldControl.

Callers

nothing calls this directly

Calls 1

getAttributeMethod · 0.65

Tested by

no test coverage detected