MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createToggleSetting

Function createToggleSetting

src/settings/components/settingHelpers.ts:178–183  ·  view source on GitHub ↗
(
	container: HTMLElement,
	options: ToggleSettingOptions
)

Source from the content-addressed store, hash-verified

176 * Helper for creating standard toggle settings
177 */
178export function createToggleSetting(
179 container: HTMLElement,
180 options: ToggleSettingOptions
181): Setting {
182 return configureToggleSetting(new Setting(container), options);
183}
184
185/**
186 * Helper for configuring a text input setting (works with SettingGroup.addSetting)

Callers

nothing calls this directly

Calls 1

configureToggleSettingFunction · 0.85

Tested by

no test coverage detected