Load more
A server action that appends keyed rows and disappears when the list is exhausted.
Load three entries at a time while retaining every existing row identity.
Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.
Installation
suprnova live:add load-moreUsage
{% import "suprnova-ui/load-more/load-more.html" as load_more %}
{% call more::load_more("load_more", exhausted=exhausted) %}{% endcall %}Examples
Partial last page
Load two updates at a time; the final page contains one update.
Keyboard and accessibility
suprnova.load-more - append the next page to a keyed list (NAV-006). The list's items carry live:key, so the morph keeps every existing node and inserts the new ones; the control is a button on a registered action, disabled and busy while the action runs, and absent once the server reports the last page (exhausted=true).
API reference
load_more_list
| Parameter | Default | Description |
|---|---|---|
id | Required | Unique list ID. |
label | "Items" | Accessible name of the keyed list. |
load_more
| Parameter | Default | Description |
|---|---|---|
action | Required | Registered Live action that appends the next page. |
text | "Load more" | Visible load-more button text. |
exhausted | false | Server end-of-list state; true removes the control. |
