MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / toDOM

Method toDOM

src/cm/lsp/inlayHints.ts:93–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 }
92
93 toDOM(): HTMLSpanElement {
94 const el = document.createElement("span");
95 el.className = `cm-inlay-hint${this.padLeft ? " cm-inlay-hint-pl" : ""}${this.padRight ? " cm-inlay-hint-pr" : ""}`;
96 el.textContent = this.label;
97 if (this.tooltip) el.title = this.tooltip;
98 return el;
99 }
100
101 ignoreEvent(): boolean {
102 return true;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected