Files
lldap/app/src/infra/modal.rs
Valentin Tolmer 6f46ffd1e4 clippy: new fixes
2024-06-16 12:18:46 +02:00

19 lines
437 B
Rust

#![allow(clippy::empty_docs)]
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);
}