I have a toggle button which works perfect to set dark-light mode using class-toggle dmx-class:dark (on v5 is dmx-class:theme-dark)
Is there any chance of get the new attribute dark-mode dynamically?
I mean:
dark-mode="var1.value" where var1.value can be “true” “false” “auto”
I have this, and it doesn’t work:
<div id="app" is="dmx-f7-app" dark-mode="var1.value">
<dmx-value id="var1" dmx-bind:value="'true'"></dmx-value>