Returns whether the focus is currently within the list.
()
| 494 | |
| 495 | /** Returns whether the focus is currently within the list. */ |
| 496 | private _containsFocus() { |
| 497 | const activeElement = _getFocusedElementPierceShadowDom(); |
| 498 | return activeElement && this._element.nativeElement.contains(activeElement); |
| 499 | } |
| 500 | } |
no test coverage detected