The secret of the Webflow.js file ( I am looking for)

Hello all code explorers

If you ever read the webflow JS file it says : "

  • Inline scripts may access the api using an async handler:
  • var Webflow = Webflow || ;
  • Webflow.push(readyFunction);"

What I am trying to do is to import webflow function into my javascript and run it. Precisely, I want to run the init(); function who is linked to form functionnality.

At the moment the script to import the function don’t work.

<script  type="module" >  import {init} from "";

I know that the webflow script provide export

Does anyone has ever made this in webflow ?


No read only is necessary…