Skip to content

Toggle

Latest
Compare
Choose a tag to compare
@Telumire Telumire released this 11 Apr 14:10
· 10 commits to main since this release
8550cd5

v1.0.1 fix an issue in the stylesheet of the toggle where the color wouldnt properly be wikified if it was defined in the theme with a macro.


This stylesheet will transform a checkbox into an animated toggle when the class "toggle" is used.

Example

<$checkbox class="toggle" field="toggle" checked="true" unchecked="false" default="true"/>

Output

toggle.mp4