after Mount
fun <T : Element> Tag<T>.afterMount(payload: Any? = null, handler: DomLifecycleHandler)
Content copied to clipboard
Convenience method to register lifecycle handler for after a Tag is mounted
Parameters
<receiver>
the Tag to register the lifecycle handler for
handler
DomLifecycleHandler to be called on this Tag after it is mounted to the DOM
payload
optional payload the handler requires