Wasm bindgen integration #2183
Answered
by
gbj
MinaMatta98
asked this question in
Q&A
Wasm bindgen integration
#2183
-
Hello, Was there any example of wasm bindgen integration with external js libraries and loading the resulting script into a view? |
Beta Was this translation helpful? Give feedback.
Answered by
gbj
Jan 13, 2024
Replies: 1 comment 3 replies
-
There's not really anything magical: Using wasm-bindgen docs to import from JS, and then calling it from Rust. Is there a specific example I can help with? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you mean, is there a way to detect when that other script has loaded, and then call
init_autocomplete
when it has? I believe<script>
tags have aload
event, so you can doon:load
.