Crates.io | quad-url |
lib.rs | quad-url |
version | 0.1.1 |
source | src |
created_at | 2021-03-22 20:16:12.95534 |
updated_at | 2021-08-22 06:41:43.33505 |
description | Plugin for macro-, mini-quad (quads) to do anything with url. |
homepage | https://github.com/optozorax/quad-url |
repository | https://github.com/optozorax/quad-url |
max_upload_size | |
id | 372284 |
size | 52,680 |
This is the crate to work with URL and open links in miniquad/macroquad environment.
Add this to your Cargo.toml
dependencies:
quad-url = "0.1.0"
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.