(text: string, visible?: (obj1: x, obj2: y) => boolean, group?: string)
| 175 | group?: string; |
| 176 | text: string; |
| 177 | constructor(text: string, visible?: (obj1: x, obj2: y) => boolean, group?: string) { |
| 178 | this.visible = visible; |
| 179 | this.group = group; |
| 180 | this.text = text; |
| 181 | } |
| 182 | makeContextHTML(obj1: x, obj2: y, menu: HTMLDivElement): void { |
| 183 | if (!this.visible || this.visible(obj1, obj2)) { |
| 184 | const span = document.createElement("span"); |
nothing calls this directly
no outgoing calls
no test coverage detected