I have a python job creating the input for a single tiddler from numerous analyzed logs and I am using the button widget and reveal widget to generate something similar to the tabs macro since I only have a single large tiddler. example tiddler: Flux Capacity — WVW Log Review
The button menu work, hover effect in place. However I can’t determine how to impart a selected effect on the button clicked.
Is there a way to highlight the appropriate button based on the curTab field of the tiddler? I thought selectedClass attribute would do it but either I am incapable or it only works when using a state tiddler.
example button/reveal
<$button set="!!curTab" setTo="Overview" selectedClass="" class="btn btn-sm btn-dark" style=""> Session Overview </$button>
<$reveal type="match" state="!!curTab" text="Overview">
some stuff....
</$reveal>