( hook: Function, target?: ComponentInternalInstance | null, )
| 406 | } |
| 407 | |
| 408 | export function onActivated( |
| 409 | hook: Function, |
| 410 | target?: ComponentInternalInstance | null, |
| 411 | ): void { |
| 412 | registerKeepAliveHook(hook, LifecycleHooks.ACTIVATED, target) |
| 413 | } |
| 414 | |
| 415 | export function onDeactivated( |
| 416 | hook: Function, |