(part: Parts)
| 970 | } |
| 971 | |
| 972 | hasFocus(part: Parts): boolean { |
| 973 | const activeElement = document.activeElement; |
| 974 | if (!activeElement) { |
| 975 | return false; |
| 976 | } |
| 977 | |
| 978 | const container = this.getContainer(part); |
| 979 | |
| 980 | return !!container && isAncestorUsingFlowTo(activeElement, container); |
| 981 | } |
| 982 | |
| 983 | focusPart(part: Parts): void { |
| 984 | switch (part) { |
nothing calls this directly
no outgoing calls
no test coverage detected