Feat: more docs, example, mroe nodes

This commit is contained in:
Jonathan Kelley committed 2021-01-15 23:25:29 -05:00
1 parent 152bced9f3
commit d13e04c9ff
14 files changed
+303 -34

No files matched your search

+5
View File
@@ -25,6 +25,9 @@ pub mod prelude {
pub use nodes::iterables::IterableNodes;
pub use nodes::*;
// hack "virtualnode"
pub type VirtualNode = VNode;
// Re-export from the macro crate
pub use html_macro::html;
}
@@ -262,6 +265,8 @@ pub mod nodes {
/// HTML attributes such as id, class, style, etc
pub attrs: HashMap<String, String>,
// TODO: @JON Get this to not heap allocate, but rather borrow
// pub attrs: HashMap<&'static str, &'static str>,
// TODO @Jon, re-enable "events"
//