Skip to content

show .wasm loading progress #21222

Answered by curiousdannii
iTrooz asked this question in Q&A
Discussion options

You must be logged in to vote

If you preload the .wasm file and then pass it to the module using wasmBinary, then you can download it with any sort of normal fetch progress code you like.

A general solution probably wouldn't make a lot of sense, as there's no consistent shared UI for Emscripten projects. Many only exist in the background, and have no control over any HTML elements.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iTrooz
Comment options

Answer selected by iTrooz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants