1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +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:
Marxsal 2016-12-16 09:38:29 -08:00 committed by Jeremy Ruston
parent 4a45e9d2dc
commit 4d3d7de3b5

View File

@ -1,6 +1,7 @@
caption: reveal
created: 20131024141900000
modified: 20151223222838652
jeremy: tiddlywiki
modified: 20161216153618769
tags: Widgets
title: RevealWidget
type: text/vnd.tiddlywiki
@ -79,3 +80,11 @@ And this is some text
</div>
</$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>'>>