FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    ferroui_browser

    module · ferroui-browser · v0.5.0

    module ferroui_browser
    

    The browser platform.

    An application runs on the main thread of a web page, inside the WebAssembly module the host page creates. There are no windows: content is shown by a FerroView over an element of the page, set as the main view of the single-view lifetime that BrowserAppBuilder::start_browser_app installs. The browser drives everything: dispatcher work is posted as tasks, rendering follows the animation frames, and the start-up function returns to the page.

    The script side of the platform is the ferroui.js module built from webapp/. interop is the only place that crosses the boundary: it imports functions of that module and exports the callbacks the module invokes.

    View source

    Contents

    Availability

    Extracted for wasm32-unknown-emscripten, aarch64-apple-darwin. Cargo features are listed in the crate index.