Skip to content

Dynamic creation of SVG

Compare
Choose a tag to compare
@TotallyInformation TotallyInformation released this 26 Mar 16:46
· 836 commits to main since this release

There is really only 1 new feature in this release but it is incredibly powerful! 🧙‍♂️

You can now use the uibuilder low-code dynamic configuration data to create SVG elements as well as HTML! This means that you could, for example, easily create an SVG-based gauge dynamically.

Client library changes

  • _ui handling extended to support dynamic creation of SVG images.
  • Changed _uiUpdate() to use _uiComposeComponent() for consistency & code reduction.

uib-brand.css

  • Adjusted img, picture, video, canvas, svg background colours to match the html background colour --surface2.

Examples

  • zero-code: Minor correction to form example (1st input had changed id)