data-toggle
matthewp opened this issue · comments
Matthew Phillips commented
Similar to attr-toggle
, removes the attribute when the value is false.
#app {
data-value: theme dark;
data-toggle: theme true;
}
#app:not(.dark-mode) {
data-toggle: theme false;
}