afterMount

fun <T : Element> Tag<T>.afterMount(payload: Any? = null, handler: DomLifecycleHandler)

Convenience method to register lifecycle handler for after a Tag is mounted

Receiver

the Tag to register the lifecycle handler for

Parameters

handler

DomLifecycleHandler to be called on this Tag after it is mounted to the DOM

payload

optional payload the handler requires