Skip to content

πŸŽ„ LunaSVG v3.1.0

Latest
Compare
Choose a tag to compare
@sammycage sammycage released this 23 Dec 17:03

What's New

  • Dynamic Styling with CSS:
    Introduced a new applyStyleSheet method for dynamic styling, making it easier to apply CSS styles to SVG content. See an example here.

  • Automatic Layout Updates:
    The library now detects document modifications and updates the layout automatically when necessary, eliminating the need for manual updateLayout calls.

  • Enhanced Layout Control:
    Added the forceLayout method to trigger immediate layout updates when needed.

  • Improved Text Rendering:
    Support for CSS properties like baseline-shift, alignment-baseline, and dominant-baseline has been added, significantly enhancing text rendering capabilities.

Cheers to creating awesome things with these new features! Happy holidays and happy coding! πŸŽ‰