#url #quad #macro #open #link #anything #miniquad-macroquad

quad-url

Plugin for macro-, mini-quad (quads) to do anything with url

2 releases

0.1.1 Aug 22, 2021
0.1.0 Mar 22, 2021

#884 in WebAssembly

Download history 338/week @ 2024-03-17 310/week @ 2024-03-24 384/week @ 2024-03-31 287/week @ 2024-04-07 474/week @ 2024-04-14 490/week @ 2024-04-21 586/week @ 2024-04-28 628/week @ 2024-05-05 437/week @ 2024-05-12 581/week @ 2024-05-19 474/week @ 2024-05-26 497/week @ 2024-06-02 472/week @ 2024-06-09 485/week @ 2024-06-16 394/week @ 2024-06-23 162/week @ 2024-06-30

1,564 downloads per month
Used in 9 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