This page is part of a static HTML representation of the TiddlyWiki at
https://tiddlywiki.com/
TestCases/RevealWidget/AccordionSlider
21st July 2024 at 5:22pm
$:/tags/wiki-test-spec
Reveal widget for accordion or slider functionality
Two distinct buttons toggle the state of the tiddler value. Two reveal widgets. The first displays the button to show the content. The second displays both the content and the button to hide the content.
Output
ExpectedResult
title
Output
<$reveal type="nomatch" state="$:/state/SampleReveal2" text="show"> <$button set="$:/state/SampleReveal2" setTo="show">Show me</$button> </$reveal> <$reveal type="match" state="$:/state/SampleReveal2" text="show"> <$button set="$:/state/SampleReveal2" setTo="hide">Hide me</$button> ! This is the revealed content And this is some text </$reveal>
Show me