mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-27 06:38:19 +00:00
Add example of using a text reference with a field in RevealWidget (#2660)
* Adding example of how to use a field's text references to control the RevealWidget. * Attempting to add field "jeremy".
This commit is contained in:
parent
4a45e9d2dc
commit
4d3d7de3b5
@ -1,6 +1,7 @@
|
|||||||
caption: reveal
|
caption: reveal
|
||||||
created: 20131024141900000
|
created: 20131024141900000
|
||||||
modified: 20151223222838652
|
jeremy: tiddlywiki
|
||||||
|
modified: 20161216153618769
|
||||||
tags: Widgets
|
tags: Widgets
|
||||||
title: RevealWidget
|
title: RevealWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@ -79,3 +80,11 @@ And this is some text
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</$reveal>'>>
|
</$reveal>'>>
|
||||||
|
|
||||||
|
!! How to use text references with field content
|
||||||
|
|
||||||
|
Here is a simple example how to use text references with field content to control the RevealWidget. If the field ``jeremy`` is populated with text ``tiddlywiki``, a message will be displayed.
|
||||||
|
|
||||||
|
<<wikitext-example-without-html '<$reveal type="match" state="!!jeremy" text="tiddlywiki">
|
||||||
|
~TiddlyWiki!
|
||||||
|
</$reveal>'>>
|
Loading…
Reference in New Issue
Block a user