0.1.0-alpha.2
Pre-release
Pre-release
get()methods on svg attributes can no longer by called in Kotlin.- Previously they could throw. This should make it so that cannot happen if someone does this by mistake.
- Made
Url(...)'s constructor public and added a convenienceurl(...)function to call the constructor as this
matches SVG's url call quite well. - Added convenience method to
repeatDursorepeatDurcan be called with aDuration(exrepeatDur(10.seconds)) - Added convenience method to
dursodurcan be called with aDuration(exdur(10.seconds)) DelayedTagConsumerwill now throw if you attempt to set elements after starting a child element.- This mirrors the behavior of
kotlinx-htmlbut I'll be honest that I don't like it. - Prior to this change attributes would simply disappear if they were after a child element.
- This affects
svgString { ... }and anyAppendableSVG builder. - This does not affect DOM based builders
- This mirrors the behavior of