(event: MouseEvent)
| 2344 | } |
| 2345 | |
| 2346 | public show(event: MouseEvent): void { |
| 2347 | // Store the document reference from the event target to support pop-out windows |
| 2348 | // Use cross-window compatible instanceOf check |
| 2349 | if ((event.target as Node)?.instanceOf?.(HTMLElement)) { |
| 2350 | this.targetDoc = (event.target as HTMLElement).ownerDocument; |
| 2351 | } |
| 2352 | this.menu.showAtMouseEvent(event); |
| 2353 | } |
| 2354 | |
| 2355 | public showAtElement(element: HTMLElement): void { |
| 2356 | // Store the document reference from the element to support pop-out windows |
no outgoing calls
no test coverage detected