2 releases

0.1.1 Aug 22, 2021
0.1.0 Mar 22, 2021

#632 in WebAssembly

Download history 335/week @ 2023-10-27 343/week @ 2023-11-03 272/week @ 2023-11-10 335/week @ 2023-11-17 305/week @ 2023-11-24 154/week @ 2023-12-01 270/week @ 2023-12-08 303/week @ 2023-12-15 231/week @ 2023-12-22 155/week @ 2023-12-29 285/week @ 2024-01-05 326/week @ 2024-01-12 252/week @ 2024-01-19 261/week @ 2024-01-26 131/week @ 2024-02-02 292/week @ 2024-02-09

1,008 downloads per month
Used in 8 crates (via egui-miniquad)

MIT/Apache

17KB
239 lines

quad-url

Docs Crates.io version

This is the crate to work with URL and open links in miniquad/macroquad environment.

Web demo.

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.6MB
~27K SLoC