[][src]Crate virtual_node

The virtual_node module exposes the VirtualNode struct and methods that power our virtual dom.

Modules

virtual_node_test_utils

A collection of functions that are useful for unit testing your html! views.

Structs

CreatedNode

A node along with all of the closures that were created for that node's events and all of it's child node's events.

Events

We need a custom implementation of fmt::Debug since JsValue doesn't implement debug.

IterableNodes

Used by the html! macro for all braced child nodes so that we can use any type that implements Into

VElement
VText

Enums

VirtualNode

When building your views you'll typically use the html! macro to generate VirtualNode's.

Type Definitions

DynClosure

Box<dyn AsRef>> is our js_sys::Closure. Stored this way to allow us to store any Closure regardless of the arguments.