MCPcopy
hub / github.com/callumalpass/tasknotes / setButtonText

Method setButtonText

tests/__mocks__/obsidian.ts:924–924  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

922 setTooltip(tip: string) { this.buttonEl.setAttribute('data-tooltip', tip); return this; }
923 setClass(cls: string) { this.buttonEl.classList.add(cls); return this; }
924 setButtonText(text: string) { this.buttonEl.textContent = text; return this; }
925 setCta() { return this; }
926 onClick(cb: () => void) { this.buttonEl.addEventListener('click', cb); return this; }
927}

Callers 10

renderContentMethod · 0.80
onOpenMethod · 0.80
onOpenMethod · 0.80
createTaskModalListFieldFunction · 0.80
configureButtonSettingFunction · 0.80
renderGeneralTabFunction · 0.80
renderModalFieldsTabFunction · 0.80
renderFeaturesTabFunction · 0.80
renderAppearanceTabFunction · 0.80
renderUserFieldsSectionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected