API reference

Technical reference for every attribute, function, event and HTTP header in Unpoly.
For concepts and walkthroughs, see Learn.

up.form

Features to submit and validate forms without a full page load.

up.script

Features to attach JavaScript behavior to HTML elements whenever they enter the page.

up.fragment

The JavaScript API to render, look up and destroy page fragments. Every link, form, overlay or poll that Unpoly handles ends in up.render(), and your own code can call it with the same options.

up.radio

Features to update fragments without a user click.

up.status

Features to show which request is loading and which link leads to the current page.

up.network

Features to make HTTP requests and cache their responses.

up.event

Features to emit and observe DOM events.

up.protocol

HTTP headers that let your server inspect and steer Unpoly's rendering.

up.viewport

Features to control scrolling and focus when fragments are updated.

up.history

Features to update the browser history and handle the Back button.

up.log

Features to log Unpoly's activity to the browser console.

Formats

Mini-languages used throughout the API.