MountPoint

interface MountPoint

External interface to access the MountPoint where the lifecycle of Tags and subtrees is handled.

Functions

afterMount
Link copied to clipboard
js
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.
beforeUnmount
Link copied to clipboard
js
abstract fun beforeUnmount(target: WithDomNode<Element>, payload: Any? = null, handler: DomLifecycleHandler)
Registers a DomLifecycleHandler on a given target that ist called right before the target is removed from the DOM.