# ferroui_browser

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-browser/

**module** · [`ferroui-browser`](/docs/0.5.0/api/ferroui-browser/) · v0.5.0

```rust
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`](/docs/0.5.0/api/ferroui-browser/struct-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](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/Browser/FerroUI.Browser/lib.rs#L1)

## Contents

- [`BrowserAccessibility`](/docs/0.5.0/api/ferroui-browser/struct-browseraccessibility/) — struct
- [`BrowserAppBuilder`](/docs/0.5.0/api/ferroui-browser/trait-browserappbuilder/) — trait
- [`BrowserPlatformOptions`](/docs/0.5.0/api/ferroui-browser/struct-browserplatformoptions/) — struct
- [`BrowserRenderer`](/docs/0.5.0/api/ferroui-browser/enum-browserrenderer/) — enum
- [`BrowserRenderingMode`](/docs/0.5.0/api/ferroui-browser/enum-browserrenderingmode/) — enum
- [`FerroView`](/docs/0.5.0/api/ferroui-browser/struct-ferroview/) — struct

## Availability

Extracted for `wasm32-unknown-emscripten`, `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
