Pull to Refresh
A list that reloads when you pull it down, built from the <refresh> and <refresh-header> elements.
What it shows
<refresh>— wraps a header and a<scroll-view>, and adds the pull-down gesture. It hash-full w-full, because without a size it draws nothing. See<refresh>.<refresh-header>— the content revealed while you pull. Here it reads "Pull down to refresh" or "Refreshing...".(bindstartrefresh)— fires when a refresh starts. The handler setsrefreshing, then replaces the items after a delay.finishRefresh— once the items are replaced,invoke('finishRefresh')on the<refresh>element hides the header. Without it, the header stays open. See Call element methods.setTimeoutas a stand-in — the delay simulates loading. Fetching data from a component isn't supported yet. See Network requests.
