Is it possible to make $reveal on scroll to the end?

50 views
Skip to first unread message

Siniy-Kit

unread,
Apr 23, 2019, 9:01:46 AM4/23/19
to TiddlyWiki
Hi! I have a very long list of items (4000-10000), and I want first to load first 100 items (limit[100]), next 100 items to load when I scroll my 100 items list to it's end and so on. How to make onscroll in Tiddlywiki?

Jeremy Ruston

unread,
Apr 23, 2019, 4:14:33 PM4/23/19
to tiddl...@googlegroups.com
Hi Siniy-Kit

On 23 Apr 2019, at 14:01, Siniy-Kit <nera...@gmail.com> wrote:

Hi! I have a very long list of items (4000-10000), and I want first to load first 100 items (limit[100]), next 100 items to load when I scroll my 100 items list to it's end and so on. How to make onscroll in Tiddlywiki?

The dynaview plugin is designed to address these situations by letting you configure HTML elements that trigger setting a tiddler field to indicate whether or not it has been scrolled into view. There’s a demo here:


There are some docs in the plugin itself. Let me know how you get on, and feel free to ask any questions here.

Best wishes

Jeremy.


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/47fcd66d-4239-4431-9963-4dd3253975f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TonyM

unread,
Apr 23, 2019, 5:30:39 PM4/23/19
to TiddlyWiki
Siniy,

An alternate may be to use a couple of nested lists and range operators and the nth filter operator. Using count and perhaps a calculation (additional plugin) to divide the count by N to get a page count may be desirable.

I expect it depends on how much needs to be rendered in one view that may impact performance. I wonder how the dynaview handles it?

Regards
Tony
Reply all
Reply to author
Forward
0 new messages