lldap/app/src/infra/modal.rs
2023-03-05 16:28:40 +01:00

17 lines
406 B
Rust

use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
#[wasm_bindgen(js_namespace = bootstrap)]
pub type Modal;
#[wasm_bindgen(constructor, js_namespace = bootstrap)]
pub fn new(e: web_sys::Element) -> Modal;
#[wasm_bindgen(method, js_namespace = bootstrap)]
pub fn show(this: &Modal);
#[wasm_bindgen(method, js_namespace = bootstrap)]
pub fn hide(this: &Modal);
}