beforeUnmount
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.