Edit this page

API class up.RenderResult

Instances of up.RenderResult describe the effects of rendering.

It is returned by functions like up.render() or up.navigate():

let result = await up.render('.target', content: 'foo')
console.log(result.fragments) // => [<div class="target">...</div>]
console.log(result.layer)     // => up.Layer.Root

All features

up.RenderResult.prototype.fragments stable

An array of fragments that were inserted.

up.RenderResult.prototype.layer stable

The updated layer.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more