1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

[Doc] New types info to attributes table of reveal widget (#3198)

This commit is contained in:
Rizwan 2018-04-07 17:19:12 +05:30 committed by Jeremy Ruston
parent a07fe6f016
commit 3c92512a2d

View File

@ -26,7 +26,7 @@ The content of the `<$reveal>` widget is displayed according to the rules given
|!Attribute |!Description |
|state |A TextReference containing the state |
|tag |Overrides the default HTML element tag (`<div>` in block mode or `<span>` in inline mode) |
|type |The type of matching performed: ''match'', ''nomatch'' or ''popup'' |
|type |The type of matching performed: ''match'', ''nomatch'', ''popup'', ''lt'', ''gt'', ''lteq'' or ''gteq'' |
|text |The text to match when the type is ''match'' and ''nomatch'' |
|class |An optional CSS class name to be assigned to the HTML element<br/>&raquo; Set to `tc-popup-keep` to make a popup "sticky", so it won't close when you click inside of it|
|style |An optional CSS style attribute to be assigned to the HTML element |
@ -92,4 +92,4 @@ Here is a simple example how to use text references with field content to contro
<<wikitext-example-without-html '<$reveal type="match" state="!!jeremy" text="tiddlywiki">
~TiddlyWiki!
</$reveal>'>>
</$reveal>'>>