toggle menu
kweb-core
1.4.12
jvm
switch theme
search in API
kweb-core
/
kweb.html.events
/
OnReceiver
/
event
event
fun
event
(
eventName
:
String
,
returnEventFields
:
Set
<
String
>
=
emptySet()
,
callback
:
(
event
:
JsonElement
)
->
Unit
)
:
T
(
source
)
inline
fun
<
U
:
Any
>
event
(
eventName
:
String
,
crossinline
callback
:
(
event
:
U
)
->
Unit
)
:
T
(
source
)