Checks whether the element is focused.
()
| 278 | |
| 279 | /** Checks whether the element is focused. */ |
| 280 | async isFocused(): Promise<boolean> { |
| 281 | await this._stabilize(); |
| 282 | return document.activeElement === this.element; |
| 283 | } |
| 284 | |
| 285 | /** |
| 286 | * Dispatches an event with a particular name. |
nothing calls this directly
no outgoing calls
no test coverage detected