up.link up:deferred:load
DOM event

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 load it manually afterwards.


Event properties

event.target
required

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

Type: Element
event.renderOptions
required

An object with render options for the coming fragment update.

Listeners may inspect and modify these options.

Type: Object
event.preventDefault()
required

Prevents the deferred content from being loaded.