How do we add custom attributes? StringAttribute exists and seems to be the thing, but there are no examples of how to use it, and no javadoc.
Let's take the following example as something we want to be able to do based on the docs. SVG is incomplete, so we want to be able to extend it in order to support the following:
It's pretty barebones: https://github.com/Kotlin/kotlinx.html/wiki/Micro-templating-and-DSL-customizing
How do we add custom attributes? StringAttribute exists and seems to be the thing, but there are no examples of how to use it, and no javadoc.
Let's take the following example as something we want to be able to do based on the docs. SVG is incomplete, so we want to be able to extend it in order to support the following:
How do we even start? The docs should give us enough information to understand how to proceed.