1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-22 01:27:18 +00:00

Merge branch 'tiddlywiki-com'

This commit is contained in:
Jeremy Ruston 2024-01-02 09:08:24 +00:00
commit 232afb4249

View File

@ -60,6 +60,16 @@ This wiki text shows how to display a list within the scrollable widget:
Set current scroll position to 100,100
</$button>
<$button>
<$action-setfield $tiddler="$:/my-scroll-position" scroll-top={{{ [{$:/my-scroll-position!!scroll-top}subtract[10]] }}}/>
Scroll up by 10 pixels
</$button>
<$button>
<$action-setfield $tiddler="$:/my-scroll-position" scroll-top={{{ [{$:/my-scroll-position!!scroll-top}add[10]] }}}/>
Scroll down by 10 pixels
</$button>
<<wikitext-example-without-html "<$scrollable class='tc-scrollable-demo' bind='$:/my-scroll-position'>
<$list filter='[tag[Reference]]'>