File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ dependencies {
6060.1) Stateful DOM API usage (text function usage) -- add text content to innerHTML by using `test` function:
6161[source,kotlin]
6262----
63+ import daggerok.extensions.html.dom.*
64+
6365fun main(args: Array<String>) {
6466 println(
6567 html("lang" to "en") {
@@ -84,6 +86,8 @@ fun main(args: Array<String>) {
8486.2) Stateful DOM API usage (innerHTML) -- using innerHTML directly:
8587[source,kotlin]
8688----
89+ import daggerok.extensions.html.dom.*
90+
8791fun main(args: Array<String>) {
8892 println(
8993 html("lang" to "en") {
@@ -108,6 +112,8 @@ fun main(args: Array<String>) {
108112.3) Stateles PLUS API usage -- two or more siblings in the same parent could be concatinated by plus `+` operator:
109113[source,kotlin]
110114----
115+ import daggerok.extensions.html.plus.*
116+
111117fun main(args: Array<String>) {
112118 println(
113119 html("lang" to "en") {
You can’t perform that action at this time.
0 commit comments