[][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.

Functions

boot

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

render_html

Runs the provided closure once and produces a prettified HTML string from the contents.