Feat: more docs, example, mroe nodes
This commit is contained in:
1 parent
152bced9f3
commit
d13e04c9ff
14 files changed
+303
-34
No files matched your search
@@ -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"
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user