up.framework
JavaScript namespace
Features to control when Unpoly boots.
By default Unpoly boots on DOMContentLoaded, after your own scripts have had a chance to configure it and register compilers. You rarely need this namespace. Boot manually with up.boot() only when you load Unpoly with <script async>, or when you set [up-boot=manual] on the <html> element and boot later yourself. up.framework.isSupported() returns whether Unpoly can boot in the current browser. On an unsupported browser Unpoly stays inactive, leaving a server-side web application without JavaScript enhancements.
Features
-
Manually boots the Unpoly framework.
-
Prevent Unpoly from booting automatically.
-
This class is set on the
<html>element after Unpoly has booted. -
Whether Unpoly has finished booting.
-
This event is emitted after Unpoly has booted.
-
Returns whether Unpoly can boot in the current browser.