Prasanth
06/02/2020, 2:51 PMimage.onClick {
print("mouse clicked")
}
but nothing is getting printed. I am running korge with runJs.Deactivated User
06/02/2020, 3:43 PMprint
with println
then:
./gradlew clean runJs
console.log
under the hood. To do so kotlin buffers “print” calls until a new line is written. Since you were not printing any new line \n
, nothing was shownprint("mouse clicked\n")
// is the same as
println("mouse clicked")
Prasanth
06/03/2020, 5:43 AM