Crate rdom[][src]

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.

node

This module contains various representations of Nodes and Elements. There are two variants:

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.