swift-dom

1.1.0

taylor’s (not so) famous HTML DSL 👠
tayloraswift/swift-dom

What's New

1.1

2024-06-23T00:03:35Z

Swift DOM 1.1 adds a few missing pieces to the SVG side of the DSL, to bring it up to speed with the HTML DSL.

  • SVG can now be instantiated as a resource, through document(with:), an example of which has been added to the SVG tutorial.
  • individual SVG.OutputStreamable types can now also encode mandatory attributes to their parent elements, which is even more common than in HTML, as most SVG elements are configured through attributes rather than through child elements.

dom
1.1

ci status

swift package index versions swift package index platforms

The swift-dom library is a cross-platform, efficient, expressive DSL for generating HTML (and related formats) with few intermediate allocations.

Description

  • Swift Tools 5.10.0
View More Packages from this Author

Dependencies

Last updated: Sun Jun 23 2024 14:09:54 GMT-0900 (Hawaii-Aleutian Daylight Time)