Edit this page

up.link up:deferred:load
DOM event

This feature is experimental. Please share your experiences so we know what to keep or change.

This event is emitted before an [up-defer] placeholder loads its deferred content.

The event can be prevented to stop the network request. The loading will not be attempted again, but you can use up.deferred.load() to manually load afterwards.


Event properties

event.target Element

The [up-defer] placeholder that is about to load its content.

event.renderOptions Object

An object with render options for the coming fragment update.

Listeners may inspect and modify these options.

event.preventDefault()

Prevents the deferred content from being loaded.