title: $:/plugins/tiddlywiki/dynaview/macros
tags: $:/tags/Macro
\define transclude-when-visible(tiddler,mode:"block",state,minHeight:"1em",loadingText:"…")
<$reveal state=<<__state__>> type="nomatch" text="0" tag="div">
> data-dynaview-set-value="visible">
<$transclude tiddler=<<__tiddler__>> mode=<<__mode__>>/>
$reveal>
<$reveal state=<<__state__>> type="match" text="0" tag="div">
> data-dynaview-set-value="visible">
$loadingText$
$reveal>
\end