1 unstable release
0.1.0 | Nov 20, 2019 |
---|
#1039 in GUI
Used in moxie-dom
74KB
1.5K
SLoC
moxie
More Information
For more information about the moxie project, see the website.
Contributing and Code of Conduct
See CONTRIBUTING.md for overall contributing info and CONDUCT.md for the project's Code of Conduct. The project is still early in its lifecycle but we welcome anyone interested in getting involved.
License
Licensed under either of
at your option.
lib.rs
:
augdom
provides an "augmented DOM" implementation that can run almost anywhere Rust can. By
default the webdom
feature is enabled and this crate is a wrapper around web-sys
for
creating and manipulating HTML elements. See the crate::Dom trait for the provided behavior.
The rsdom
feature enables a DOM emulation layer written in pure Rust which can be
used for testing or to render HTML strings.
Known Limitations
As of today the <web_sys::Element as Dom>::*_attribute
methods will panic if called on a text
node. This cost seems appropriate today because this is a dependency for other crates which
enforce this requirement themselves. web_sys
enforces this restriction statically.
Dependencies
~1.3–3.5MB
~62K SLoC