obsidian/setting-components/checkbox-component
Checkbox component.
Classes
Section titled “Classes”| Class | Description |
|---|---|
| CheckboxComponent | A component that displays a checkbox. You can add this component using SettingEx.addCheckbox. In order to add the styles for the component, use initPluginContext in your plugin’s onload() function. Alternatively, you can copy styles from https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css. |