MCPcopy Create free account
hub / github.com/UNLINEARITY/Obsidian-CodeSpace / constructor

Method constructor

src/dropdown.ts:157–163  ·  view source on GitHub ↗
(container: HTMLElement, labels: MultiSelectLabelOptions)

Source from the content-addressed store, hash-verified

155 private labels: MultiSelectLabelOptions;
156
157 constructor(container: HTMLElement, labels: MultiSelectLabelOptions) {
158 this.containerEl = container;
159 this.labels = labels;
160 this.render();
161 this.attachEvents();
162 this.updateLabel();
163 }
164
165 private render() {
166 this.selectEl = this.containerEl.createDiv({ cls: "custom-dropdown-select" });

Callers

nothing calls this directly

Calls 3

renderMethod · 0.95
attachEventsMethod · 0.95
updateLabelMethod · 0.95

Tested by

no test coverage detected