API reference
Technical reference for every attribute, function, event and HTTP header in Unpoly.
For concepts and walkthroughs, see Learn.
up.link
Features to follow links without a full page load.
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.layer
Features to open, close and look up overlays.
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.motion
Features to animate fragment updates.
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.element
Low-level functions to access and change the DOM.
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.util
Helper functions for basic JavaScript values.
up.framework
Features to control when Unpoly boots.
up.log
Features to log Unpoly's activity to the browser console.
Formats
Mini-languages used throughout the API.