Edit this page

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

Lazy loading content


Event properties

event.target
required

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

event.renderOptions
required

An object with render options for the coming fragment update.

Listeners may inspect and modify these options.

event.preventDefault()
required

Prevents the deferred content from being loaded.