Skip to content

setting-components/tri-state-checkbox-component

Tri-state checkbox component.

Class Description
TriStateCheckboxComponent A component that displays a tri-state checkbox. You can add this component using SettingEx.addTriStateCheckbox. In order to add the styles for the component, use initPluginContext in your plugin’s onload() function. Alternatively, you can copy styles from https://unpkg.com/@mnaoumov/obsidian-lib/dist/styles.css.