Structs

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

The name of the event with the on prefix.

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

Node’s in a VirtualNode tree are indexed depth first, where the first node is index 0, it’s first child node is index 1, and the first child’s first child is index 2.

A mouse event.

Enums

Event handlers such as the closure in onclick = |event| {}.

An event that to be managed by the PercyDom.

Functions

Insert a non-delegated event