Skip to main content

init

Function init 

Source
pub fn init<R: Runtime>() -> TauriPlugin<R>
Expand description

The base frame plugin. Registered first in every picoframe app’s builder.

On macOS its setup installs a native NSEvent monitor that emits mouse-nav for the X1/X2 mouse buttons (the frame’s useMouseNavigation hook handles the DOM path on Windows/Linux). It registers no commands yet — window/theme commands land later — and anchors the generated main.rs .plugin(picoframe_core::init()) call above the plugin markers.