The documentation says a button can be formatted to toggle on or off, but the example given is merely
<div class="ui toggle button">
Vote
</div>
which naturally, doesn't work. An inspection of the source code of the example reveals an active
class is programmatically added.
I'm probably missing something simple, but how can I create a toggle button like in that example? What's the syntax for specifying what to toggle between?