Module sauron_core::svg
source · Expand description
Provides functions and macros to build svg elements
Re-exports§
pub use crate::vdom::element;
pub use crate::vdom::element_ns;
pub use tags::commons;
pub use tags::special;
pub use tags::commons::*;
pub use tags::special::*;
Modules§
- provides functions and macros for building svg attributes
- Provides macro for creating functions for tags
Constants§
- SVG namespace const, use this when creating an svg element dynamically in the DOM
Functions§
- creates an svg element with the tag, attributes and children. Example: