Gavin Ray
02/18/2022, 11:38 PMkotlinx.html
that also embeds interactivity/scripts, right?
Something like:
router.get("/").handler { context ->
val text = createHTML().html {
div {
onClickFunction = { event ->
window.alert("Kotlin!")
}
}
}
context.response().end(text)
}
Colton Pierson
02/28/2022, 11:12 PMGavin Ray
03/18/2022, 4:27 PM