( container: HTMLElement, options: ToggleSettingOptions )
| 176 | * Helper for creating standard toggle settings |
| 177 | */ |
| 178 | export 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) |
nothing calls this directly
no test coverage detected