afterMount

abstract fun afterMount(target: WithDomNode<Element>, payload: Any? = null, handler: DomLifecycleHandler)

Registers a DomLifecycleHandler on a given target that ist called right after the target is mounted to the DOM.

Parameters

target

the element the lifecycle-handler will be registered for

payload

some optional data that might be used by the handler to do its work

handler

defines, what to do (with payload), when target has just been mounted to the DOM