In the examples, missing blank lines prevented the revealed text

to display as a block when clicking on buttons.
print-window-tiddler
Xavier Cazin 2014-02-27 19:21:04 +01:00
rodzic 89c7310a53
commit 63cb0eb3db
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -38,8 +38,10 @@ Here's a simple example of showing and hiding content with buttons:
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
<$reveal type="match" state="$:/SampleRevealState" text="show">
! This is the revealed content
And this is some text
</$reveal>
```
@ -49,8 +51,10 @@ It renders as:
<$button set="$:/SampleRevealState" setTo="hide">Hide me</$button>
<$reveal type="match" state="$:/SampleRevealState" text="show">
! This is the revealed content
And this is some text
</$reveal>
!! Popup
@ -62,8 +66,10 @@ Here is a simple example of a popup built with the RevealWidget:
<$reveal type="popup" state="$:/SamplePopupState">
<div class="tw-drop-down">
! This is the popup
And this is some text
</div>
</$reveal>
```
@ -74,7 +80,9 @@ It renders as:
<$reveal type="popup" state="$:/SamplePopupState">
<div class="tw-drop-down">
! This is the popup
And this is some text
</div>
</$reveal>