aplayer_wasmbind/lib.rs
1use wasm_bindgen::prelude::*;
2use web_sys::Element;
3
4mod options;
5
6pub use options::{build_aplayer, APlayerAudio, APlayerOptions};
7
8#[wasm_bindgen(module = "/src/aplayer.min.js")]
9extern "C" {
10 #[wasm_bindgen(js_name = build_aplayer)]
11 pub fn create_aplayer(e: &Element, o: &JsValue);
12}