Edit this page

up.framework up:framework:booted
DOM event

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

This event is emitted after Unpoly has booted.

For most apps this event will be emitted in the same task as DOMContentLoaded. All compilers will already have run on the initial page content.


Event properties

event.mode
required

A string indicating what caused Unpoly to boot.

If set to 'auto', Unpoly was booted automatically on DOMContentLoaded.

If set to 'manual', Unpoly was booted manually.

string