kotlinx.html
kotlinx.html copied to clipboard
Kotlin DSL for HTML
Hello! Please consider adding these attributes: onmouseenter - https://www.w3schools.com/jsref/event_onmouseenter.asp onmouseleave - https://www.w3schools.com/jsref/event_onmouseleave.asp
this code snippet uses `htmlFor` but chrome throw error ``` input(type = InputType.checkBox) { attrs.id = "showDeleted" } label { attrs.htmlFor = "showDeleted" +"Показать удаленные" } ```
The following events are missing on `CommonAttributeGroupFacade`: - `ontransitioncancel` - `ontransitionend` - `ontransitionstart` - `ontransitionrun` See https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/ontransitionend
The `` tag should have a 'rel' attribute: https://www.w3schools.com/TAGS/att_a_rel.asp
When using the `del` tag DSL, it adds a new line before and after using it. **Example from Dokka**: ``` abstract fun hasText (): Boolean ``` ...
Currently, autoComplete variable of input tag has Boolean type and doesn't support for any other values such as "new-password" or "nickname" except for "on" and "off". I suppose you better...
We could add support for CSS DSL. Currently there is only one way to write CSS and that's to use hard coded raw strings which very quickly increase the chances...
The current [HTML entity reference spec](https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references) shows quite a few more entries than are currently in [Entity](https://github.com/Kotlin/kotlinx.html/blob/master/src/commonMain/kotlin/generated/gen-entities.kt). If this is supposed to be tracking the standard, those should be added....
kotlinx.html adds amp and browser is not able to process invalid url https://test.html?name1=value1&name2=value2 -> https://test.html?name1=value1&name2=value2 ``` import kotlinx.html.a import kotlinx.html.body import kotlinx.html.html import kotlinx.html.stream.appendHTML import org.amshove.kluent.should contain import org.amshove.kluent.should not...