on

fun on(retrieveJs: String? = null, preventDefault: Boolean = false): OnReceiver<Document>

You can supply a javascript expression retrieveJs which will be available via Event.retrieveJs

val on: OnReceiver<Document>

See here.