(element: HTMLElement)
| 90 | } |
| 91 | |
| 92 | public showAtElement(element: HTMLElement): void { |
| 93 | // Store the document reference from the element to support pop-out windows |
| 94 | this.targetDoc = element.ownerDocument; |
| 95 | this.menu.showAtPosition({ |
| 96 | x: element.getBoundingClientRect().left, |
| 97 | y: element.getBoundingClientRect().bottom + 4, |
| 98 | }); |
| 99 | |
| 100 | // Apply color styling after menu is shown |
| 101 | window.setTimeout(() => { |
| 102 | this.applyColorStyling(); |
| 103 | }, 10); |
| 104 | } |
| 105 | |
| 106 | private applyColorStyling(): void { |
| 107 | const statusOptions = this.getStatusOptions(); |
nothing calls this directly
no test coverage detected