This feature has been deprecated. Use up.render()
or up.navigate()
instead.
Load unpoly-migrate.js
to polyfill deprecated features.
Replaces elements on the current page with corresponding elements from a new page fetched from the server.
The CSS selector to update. You can also pass a DOM element or jQuery element here, in which case a selector will be inferred from the element's class and ID.
The URL to fetch from the server.
See options
for up.render()
.
A promise that fulfills when the page has been updated.