* Implemented as part of MatFormFieldControl. * @docs-private
(ids: string[])
| 1391 | * @docs-private |
| 1392 | */ |
| 1393 | setDescribedByIds(ids: string[]) { |
| 1394 | const element = this._elementRef.nativeElement; |
| 1395 | |
| 1396 | if (ids.length) { |
| 1397 | element.setAttribute('aria-describedby', ids.join(' ')); |
| 1398 | } else { |
| 1399 | element.removeAttribute('aria-describedby'); |
| 1400 | } |
| 1401 | } |
| 1402 | |
| 1403 | /** |
| 1404 | * Implemented as part of MatFormFieldControl. |
nothing calls this directly
no outgoing calls
no test coverage detected