Streaming live at 10am (PST)

Document Webflow.js and make it available as a node module for webpack

Hello Webflow team,

We are trying to integrate Webflow into a web app that uses webpack as the build tool.

Regarding the Webflow.js file that is added at the end of the body, it would be very useful if:

  • API of Webflow.js documented (what functions does it provide at runtime? what HTML components is it bound to? Can it be called directly from other JS functions?)
  • when to include it, is it possible to late load it
  • explain how to integrate it with webpack (e.g. as a ES6 node module bundled with other JS assets)