MCPcopy Create free account
hub / github.com/MathMan05/Fermi / constructor

Method constructor

src/webpage/contextmenu.ts:156–159  ·  view source on GitHub ↗
(visible?: (obj1: x, obj2: y) => boolean, group?: string)

Source from the content-addressed store, hash-verified

154 private visible?: (obj1: x, obj2: y) => boolean;
155 group?: string;
156 constructor(visible?: (obj1: x, obj2: y) => boolean, group?: string) {
157 this.visible = visible;
158 this.group = group;
159 }
160 makeContextHTML(obj1: x, obj2: y, menu: HTMLDivElement): void {
161 if (!this.visible || this.visible(obj1, obj2)) {
162 if (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected