You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+42-17Lines changed: 42 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -6,37 +6,61 @@
6
6
7
7
# kotlinx.html
8
8
9
-
A kotlinx.html library provides DSL to build HTML to [Writer](https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html)/[Appendable](https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html) or DOM. Available to all Kotlin Multiplatform targets and browser(or other JavaScript engine) for better [Kotlin programming](https://kotlinlang.org) for Web.
9
+
The kotlinx.html library provides a DSL
10
+
to build HTML
11
+
to [Writer](https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html)/[Appendable](https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html)
12
+
or DOM.
13
+
Available to all Kotlin Multiplatform targets and browsers (or other WasmJS or JavaScript engines)
14
+
for better [Kotlin programming](https://kotlinlang.org) for Web.
10
15
11
16
# Get started
12
17
13
-
See [Getting started](https://github.com/kotlin/kotlinx.html/wiki/Getting-started) page for details how to include the library.
18
+
See [Getting started](https://github.com/kotlin/kotlinx.html/wiki/Getting-started) page for details how to include the
19
+
library.
14
20
15
21
# DOM
16
-
You can build DOM tree with JVM and JS naturally
17
22
18
-
See example for JavaScript-targeted Kotlin
23
+
You can build a DOM tree with JVM, JS, and WASM.
24
+
The following example shows how to build the DOM for WasmJs-targeted Kotlin:
0 commit comments