2 releases
0.1.1 | Aug 22, 2021 |
---|---|
0.1.0 | Mar 22, 2021 |
#682 in WebAssembly
1,448 downloads per month
Used in 11 crates
(2 directly)
17KB
239 lines
quad-url
This is the crate to work with URL and open links in miniquad/macroquad environment.
Usage
Add this to your Cargo.toml
dependencies:
quad-url = "0.1.0"
Usage in WASM
Add file quad-url/js/quad-url.js
to your project.
Add file sapp-jsutils/js/sapp_jsutils.js
file to your project. (version 0.1.4
, compatible with current crate)
Add this lines after loading of gl.js
and before loading of your wasm in your index.html
:
<script src="sapp_jsutils.js"></script>
<script src="quad-url.js"></script>
Done! Now you can use this crate.
Dependencies
~0–1.7MB
~29K SLoC