https://kotlinlang.org logo
Join SlackCommunities
Powered by
# carrat-dev
  • t

    Tomasz Krakowiak

    05/11/2021, 12:45 PM
    set the channel topic: Just published demo: http://tictactoe.demo.carrat.org/ Code: https://github.com/carrat-framework/carrat-demo-tictactoe/blob/master/src/commonMain/kotlin/org/carrat/demo/tictactoe/site/displayGame.kt
  • t

    Tomasz Krakowiak

    05/11/2021, 1:19 PM
    Where would you prefer I host carrat code - github or gitlab?
  • t

    Tomasz Krakowiak

    05/11/2021, 2:34 PM
    Should I clone kotlinx-html? Currently DSL syntax looks like:
    Copy code
    tag(::DIV) {
        tag.classes = "something"
    }
    I can make below work without cloning kotlinx-html:
    Copy code
    div {
        classes = "something"
    }
    But without kotlinx-html clone, I cannot make this work efficiently:
    Copy code
    val myTag = div {
        classes = "something"
    }
    // later
    myTag.classes = "somethingElse"