kotlinx.html
kotlinx.html copied to clipboard
Kotlin DSL for HTML
script(type = ScriptType.textJavaScript) { +"var str = 'some text';" } will result: var str = 'some text'; how to avoid quotation in this case?
on [getting started page](https://github.com/kotlin/kotlinx.html/wiki/Getting-started) it says I can download jar, zip and webjar from release page. but on release page there is only a zip of source code! for one...
Using Gradle 3.0, Kotlin 1.0.3, and the following build.gradle file, I get a compilation error: > Could not find method compileClient() for arguments [org.jetbrains.kotlinx:kotlinx.html.js:0.5.10] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. I...
``` val x = StringBuilder().appendHTML().html { body { article { p { } a { +"aaa" } span { } } } }.toString() ``` Indent is placed in the wrong...
I don't know if it's on purpose or not, but `document.body!!.style.overflow = "hidden"` doesn't works. This works : ``` document.body!!.style.overflowX = "hidden" document.body!!.style.overflowY = "hidden" ``` I expected that setting...
Seems all the aria attributes such as `aria-orientation` and `aria-labelledby` are missing. These should be added so we dont have to declare them as `attributes["aria-orientation"]`.
It would be useful to be able to generate HTML fragments with multiple elements without any containing element. Use case is to generate HTML snippets on server to be requested...
This is 100% valid html. 