(event: Event)
| 126 | // We need this in code view to intercept line hash navigations (i.e. #L123) |
| 127 | // within the same file. |
| 128 | navigate(event: Event) { |
| 129 | const url = (event?.target as HTMLElement) |
| 130 | ?.closest("a") |
| 131 | ?.getAttribute("href"); |
| 132 | if (url) { |
| 133 | this.dispatchEvent( |
| 134 | new CustomEvent("query-builder:navigate", { |
| 135 | bubbles: true, |
| 136 | detail: { url } |
| 137 | }) |
| 138 | ); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | get closed() { |
| 143 | return this.overlay && this.overlay.hasAttribute("hidden"); |
nothing calls this directly
no outgoing calls
no test coverage detected