Crate mogwai[][src]

Expand description

Mogwai

Mogwai is library for user interface development using Rust-to-Wasm compilation. Its goals are simple:

  • provide a declarative approach to creating and managing DOM nodes
  • encapsulate component state and compose components easily
  • explicate DOM updates
  • feel snappy

Learn more

If you’re new to Mogwai, check out the introduction module.

Re-exports

pub use target::spawn;

Modules

An introduction to the minimal, obvious, graphical web application interface.

A low cost intermediate structure for creating views.

Async mpmc and broadcast channels, plus extensions.

Build trees of widgets using two-way message passing.

View events as streams of values.

Futures, streams, sinks.

Asynchronous locking mechanisms (re-exports).

RSX style macros for building DOM views.

Values with streams of updates.

Updates to lists and hashmaps encoded as enums.

All of Mogwai in one easy place.

Bundling view updates and events.

Provides string rendering for server-side mogwai nodes.

Support for async operations depending on the target.

Wait or sleep or delay future.

Helpers and utilities.

Wrapped views.