Questions tagged [kotlin-html-builder]

4 questions
2
votes
1 answer

Kotlin HTML-Builder

In Kotlin page, under HTML-Builder I can see the below code, how can I use it in simple .tk file? how t get started here? val data = mapOf(1 to "one", 2 to "two") createHTML().table { for ((num, string) in data) { Iterate over data tr…
Hasan A Yousef
  • 22,789
  • 24
  • 132
  • 203
1
vote
1 answer

Add kotlinx-html-js to kotlin/js project in intellij

I need to add kotlinx-html-js library to a kotlin/js project created with Intellij. I've tried to add maven support and in the pom.xml file write the following:
Cilla
  • 419
  • 5
  • 16
0
votes
0 answers

css class not wroking when i add awesome font class to kotlin html tag first

Hello guys I appreciate you if you help me about this in (i) kotlin.html tag when I add two class the first class is not working div { css { width = 100.pct height = 500.px position = absolute } button{ …
0
votes
2 answers

Using "property" in HTML meta data with kotlin DSL

Hey how can i use html content like: with the Kotlin HTML Type Safe builder? I cannot find something like the property variable in the meta function
Infinity_dev
  • 129
  • 1
  • 6