Module sauron_core::svg

source ·
Expand description

Provides functions and macros to build svg elements

Re-exports§

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: