There was an error while loading. Please reload this page.
1 parent 46285b5 commit ee51bf0Copy full SHA for ee51bf0
src/jsMain/kotlin/dom-js.kt
@@ -4,6 +4,7 @@ import kotlinx.html.*
4
import kotlinx.html.consumers.*
5
import kotlinx.html.org.w3c.dom.events.Event
6
import org.w3c.dom.*
7
+import kotlin.reflect.KProperty
8
9
private inline fun HTMLElement.setEvent(name: String, noinline callback : (Event) -> Unit) : Unit {
10
asDynamic()[name] = callback
0 commit comments