kotlinx.html icon indicating copy to clipboard operation
kotlinx.html copied to clipboard

Kotlin DSL for HTML

Results 110 kotlinx.html issues
Sort by recently updated
recently updated
newest added

It's not possible to insert raw content that contains & when using the DOM Builder: Using v0.6.11 and Kotlin v1.2.51 ```kotlin val html = createHTMLDocument().html { body { unsafe {...

build.gradle: ```gradle dependencies{ implementation 'org.jetbrains.kotlinx:kotlinx-html-js:0.6.11' } ``` package.json: ```json "depenencies": { "kotlinx-html": "0.6.11" } ``` Generated code: ```js (function (_, Kotlin, $module$kotlinx_html_js) { ... }(module.exports, require('kotlin'), require('kotlinx-html-js')); ``` Notice the...

I have one functions which inter alia disabled HTMLInputElement, HTMLTextAreaElement and others. Currently I use an `unsafeCast`to HTMLInputElement for other types because I know that it works as internally it...

JS

In HTML, size of `` (comboBox) is a number. https://www.w3schools.com/TAGS/tag_select.asp

We need kdoc for DSL functions. Most likely we can extract it from somewhere

documentation

There are new trend in FE world - transition from CSS files to JS style: https://github.com/styled-components/styled-components Since this is a somewhat plain JS, i thought about your consideration to integrate...

design

Hello, I was using the JVM version of this library to generate an HTML file with a head tag on when I noticed that it generates a forced `meta` tag....

JVM

(0.6.8) For example the following produces an error since "button" cannot have attribute name when input or buttonInput can. Shouldn't name be available for buttons, too? System.out.appendHTML().html { body {...

DSL

Similar to PHP's 'headers already sent by' :) Can be reproduces by something like ```kt div { p() classes += "whatever } ``` Stack trace contains no my functions, only...

design

This code: ``` div { onclick = { event -> window.alert("Kotlin!") } } ``` On this doc page: https://github.com/kotlin/kotlinx.html/wiki/Events No longer works.

documentation
design