MountPoint

interface MountPoint

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

Functions

Link copied to clipboard
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.

Link copied to clipboard
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.