> I didn't follow the intricacies of this thread but to make something
> appear/disappear with the click of a button you can use the RevealWidget
> <https://tiddlywiki.com/prerelease/#RevealWidget> as described here (see
> section "Accordion or Slider") OR, since you refer to it as a "template"
> then maybe that means it si something that has a critical tag for it to
> enable/disable it, in which case you can use e.g the CheckBoxWidget
> <https://tiddlywiki.com/prerelease/#CheckboxWidget>to toggle that tag.
>
>
Yeah, thanks Mat! That works. I dunno how I missed that.
<$button set="$:/state/DataReveal" setTo="show">Data Input</$button>
<$button set="$:/state/DataReveal" setTo="hide">Hide</$button>
<$reveal type="match" state="$:/state/DataReveal" text="show">
{{||DataInput}}
</$reveal>
It even works within a macro. At first had some troubles because of double
nested transclution. Changed of of the transclutions into macro and all
went nicely.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7553c2ab-ac1e-490f-8268-e5e7b72adde5o%40googlegroups.com.