kotlinx.html
kotlinx.html copied to clipboard
Kotlin DSL for HTML
`loading= "lazy"` on the img tag is supported by almost 90% of all browsers ([https://caniuse.com/loading-lazy-attr](https://caniuse.com/loading-lazy-attr)) I think it would be a good idea to add it to the img dsl
I'm a newbie and I'm wondering how I can add inline styling to a div element. Finally I need something like this: ``. Adding the `id` was with the help...
I couldn't find a way to express ``` ``` other than ``` unsafe { raw("") } ``` Is that missing from `ScriptType` on purpose for some reason? Or has it...
https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preload HTML DSL for LINK does not support the as attribute that can come handy with rel="preload"
When I use inline css in an html or jsp file, IntelliJ gives me nice syntax coloring and autocompletion:  Is there a type safe way to do inline css...
Hi, when appending a svg, the library will automatically append the namespace `xmlns="http://www.w3.org/2000/svg"`, which isn't actually mandatory and thus should be optional. > Note: The xmlns attribute is only required...
### What I am trying to do I am trying to use `kotlinx.html` with Spring WebFlux. I am trying to call a suspending function inside a rendering block. An action...
Hello, I noticed that there's a 0.7.3 version of kotlinx.html available on MavenCentral, but the source code and the README haven't been updated for it. Can you address that please?...
HTML Elements have a `dir = Dir.rtl` as well as `Dir.ltr`, but no `Dir.auto`. Trying to do gave me an `IllegalStateException` error. I did manage to set it later as...