[][src]Crate mogwai

Mogwai

Mogwai is library for frontend web 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
  • be small and fast (snappy)

Modules

builder

A gizmo builder is used to create DOM elements. It adheres to the normal builder pattern and provides functions for wiring messages in and out of the DOM. Here is an example of using GizmoBuilder, Transmitter and Receiver to create a button that counts its own clicks:

component
gizmo
prelude
txrx
utils