Updating...
- Feed Item 1
- Feed Item 2
- Feed Item 3
Native pull-to-refresh interaction using touch events. Works inside a scrollable container without affecting the page scroll.
<section class="pullrefresh" data-component="pullrefresh" aria-label="Pull to refresh demo">
<output aria-live="polite">Pull down to refresh</output>
<section data-role="surface" tabindex="0" aria-label="Refresh surface">
<h2>Feed</h2>
<p>Your content here...</p>
</section>
</section>
data-component="pullrefresh" on the root container<output>) with aria-live for status updatesdata-role="surface"tabindex="0"axiom:refresh custom eventdocument.addEventListener('axiom:refresh', async (event) => {
console.log('Refreshing content...');
// Fetch new data
// Update DOM
// Reset indicator
});
aria-live to announce status updatestabindex="0"