Crate rdom

Source
Expand description

A Rust-based simulated DOM (browser-independent replacement for web_sys)

Modules§

config
Configuration for a sandbox. A sandbox represents a virtual browser tab, so in order to allow some values (e.g. window.innerWidth), we need a configuration for the tab, which is what the structures in this module represent.
error
Errors that may occur while using rdom.
named_node_map
Representation of a NamedNodeMap and associated metadata.
node
Core representation of a DOM node. See nice module for distinction from nice representation.
node_list
Representation of a NodeList and associated metadata.
sandbox
A sandbox represents a virtual browser tab. It contains a document and a window, as well as some configuration information for screen dimensions.
window
A virtual browser window.

Macros§

impl_element
Implements ElementBehavior
impl_parent
Implements ParentBehavior
impl_sandbox_member
Implements SandBoxMemberBehavior
use_behaviors
Provides use statements for behaviors