* Implemented as part of MatFormFieldControl. * @docs-private
(ids: string[])
| 558 | * @docs-private |
| 559 | */ |
| 560 | setDescribedByIds(ids: string[]) { |
| 561 | const element = this._elementRef.nativeElement; |
| 562 | |
| 563 | if (ids.length) { |
| 564 | element.setAttribute('aria-describedby', ids.join(' ')); |
| 565 | } else { |
| 566 | element.removeAttribute('aria-describedby'); |
| 567 | } |
| 568 | } |
| 569 | |
| 570 | /** |
| 571 | * Implemented as part of MatFormFieldControl. |
nothing calls this directly
no outgoing calls
no test coverage detected