From b0e40e86413c1769c8be8a84652b66ef6ac8b997 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sat, 16 May 2020 14:56:08 +0100 Subject: [PATCH] Fix dynaview examples --- .../dynaview/examples/reveal-on-scroll.tid | 8 +++--- .../dynaview/examples/unreveal-on-scroll.tid | 28 ------------------- .../dynaview/examples/zoomable-tooltips.tid | 2 +- 3 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid diff --git a/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid b/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid index 860b71c92..f5cd04f29 100644 --- a/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid +++ b/plugins/tiddlywiki/dynaview/examples/reveal-on-scroll.tid @@ -3,21 +3,21 @@ tags: $:/tags/dynaviewExamples caption: Reveal on Scroll \define indicator(index) -<$reveal state="$:/state/unreveal-on-scroll/example$index$" type="match" text="yes"> +<$reveal state="$:/state/unreveal-on-scroll/example$index$" type="nomatch" text=""> $index$ \end \define lorem-ipsum(index) -
+

Heading $index$

-<$reveal state="$:/state/unreveal-on-scroll/example$index$" type="match" text="yes"> +<$reveal state="$:/state/unreveal-on-scroll/example$index$" type="nomatch" text=""> (Rendered at <>) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\end -This example renders tiddlers as they are scrolled into view. +This example renders tiddlers as they are scrolled into view, and hides them when they scroll out of view again. Visible: <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"> <$macrocall $name="indicator" index=<>/> diff --git a/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid b/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid deleted file mode 100644 index b0bed8777..000000000 --- a/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll.tid +++ /dev/null @@ -1,28 +0,0 @@ -title: $:/plugins/tiddlywiki/dynaview/examples/unreveal-on-scroll -tags: $:/tags/dynaviewExamples -caption: Unreveal on Scroll - -\define indicator(index) -<$reveal state="$:/state/reveal-on-scroll/example$index$" type="match" text="yes"> -$index$ - -\end - -\define lorem-ipsum(index) -
-

Heading $index$

-<$reveal state="$:/state/reveal-on-scroll/example$index$" type="match" text="yes"> -(Rendered at <>) Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. - -
-\end - -This example renders tiddlers as they are scrolled into view, and hides them when they scroll out of view again. - -Visible: <$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"> -<$macrocall $name="indicator" index=<>/> - - -<$list filter="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16"> -<$macrocall $name="lorem-ipsum" index=<>/> - diff --git a/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid b/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid index 8f5640607..e3dcdb24b 100644 --- a/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid +++ b/plugins/tiddlywiki/dynaview/examples/zoomable-tooltips.tid @@ -48,7 +48,7 @@ caption: Zoomable Tooltips <$transclude/> - + <$text text=<>/>