Simple page navigation
Pagination can be executed locally using the
action attribute of the objects.
jsonl lines below will setup 3 buttons to the bottom of a 240x320 screen which will navigate back and forth between the pages:
1 2 3
Pagination can be also acomplished by enabling swipe gesture on certain objects. The
jsonl line below will setup an invisible rectangle overlay at the top of the screen with enabled
You should put these lines to the end of your
pages.jsonl config file, so that these objects remain at the top, and no others will be drawn on top of them.
To limit page navigation only to page numbers between 1 and 6: