vue-lynx / onDeactivated

Function: onDeactivated()

function onDeactivated(hook, target?): void

Registers a hook to be called when the component is removed from the DOM as part of a tree cached by <KeepAlive>.

Parameters

ParameterType
hookFunction
target?null | ComponentInternalInstance

Returns

void

See

Vue docs

Defined in

packages/vue-lynx/runtime/src/index.ts:616