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

Function createButtonSetting

src/settings/components/settingHelpers.ts:350–355  ·  view source on GitHub ↗
(
	container: HTMLElement,
	options: ButtonSettingOptions
)

Source from the content-addressed store, hash-verified

348 * Helper for creating standard button settings
349 */
350export function createButtonSetting(
351 container: HTMLElement,
352 options: ButtonSettingOptions
353): Setting {
354 return configureButtonSetting(new Setting(container), options);
355}
356
357/**
358 * Helper for creating section headers

Callers

nothing calls this directly

Calls 1

configureButtonSettingFunction · 0.85

Tested by

no test coverage detected