[][src]Module euca::vdom

Flexible generic virtual dom representation.

The types here can be used to generically represent a virtual dom tree. This generic representation can be used to plug various concrete virtual dom representations into the diff and patch algorithms implemented in this crate.

Re-exports

pub use crate::component::Component;
pub use crate::app::Dispatcher;

Enums

DomItem

Items representing all of the data in the DOM tree.

EventHandler

This represents an event handler. The handler can either always map to a specific message, or a function can be provided that will transform the given web_sys::Event into a message. This function must be a plain fn pointer and cannot capture any state from the environment.

WebItem

A DOM node or JS closure created when applying a patch.

Traits

DomIter

This trait provides a way to iterate over a virtual dom representation.

Type Definitions

Storage

A list of WebItems.