Skip to main content

JsExt

Trait JsExt 

Source
pub trait JsExt<R: Runtime> {
    // Required method
    fn js(&self) -> &Js<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the js APIs.

Required Methods§

Source

fn js(&self) -> &Js<R>

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> JsExt<R> for T