Module 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§

attributes
provides functions and macros for building svg attributes
tags
Provides macro for creating functions for tags

Constants§

SVG_NAMESPACE
SVG namespace const, use this when creating an svg element dynamically in the DOM

Functions§

svg_element
creates an svg element with the tag, attributes and children. Example: