Edit this page

up.link up:deferred:load
DOM event

This feature is experimental. It may be changed or removed in a future version.

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.


Prevents the deferred content from being loaded.