Async Await

To see the demo, open in web browser or start a web server and load this page (e.g., `npx http-server` and navigate to http://127.0.0.1:8080/demos/fonts/async-await.html).

vexflow-core.js does not bundle any fonts, to allow your webpage to load a small initial bundle. It will load fonts on demand when you call await VexFlow.loadFonts(fontName1, fontName2, ...); .

Open your browser's developer tools and choose one of the fonts below. You will see that a font module is downloaded when needed:

Bravura   Leland   Gonville   Petaluma  

View this page's source code for more information.