[][src]Crate moxie_dom

Tools for declaratively constructing and incrementally updating HTML DOM trees on the web. Based on the moxie UI runtime.

Re-exports

pub use augdom as raw;

Modules

elements

Element definitions generated from the listing on MDN.

embed

Embedding APIs offering finer-grained control over execution of the runtime.

interfaces

Traits which correspond to the web platform's class interfaces.

prelude

A module for glob-importing the most commonly used moxie-dom items.

text

Text nodes in the DOM.

Macros

app_boot

Produce an interactive entrypoint for the specified app type. Creates a #[wasm_bindgen] export with the name of the app type prefixed with boot. For example, app_boot!(Example) would export a JavaScript function named bootExample.

Traits

Boot

A "root" stateful element which can be booted directly without any arguments.

Stateful

A stateful element within the application.

Functions

boot

The "boot sequence" for a moxie-dom instance creates a crate::embed::DomLoop with the provided arguments and begins scheduling its execution with requestAnimationFrame on state changes.