Skip to content

Commit

Permalink
update web demo to display a sample code on page load
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-chung committed Apr 8, 2024
1 parent aa9d2b8 commit fb7b7c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/src/jsMain/kotlin/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fun main() {
})
lstExample.appendChild(item)
}
txtCode.value = demoScripts.entries.first().value

val btnRun = document.getElementById("btnRun")!!
println("main start")
Expand Down

0 comments on commit fb7b7c0

Please sign in to comment.