MCPcopy
hub / github.com/vuejs/core / isKeepAlive

Function isKeepAlive

packages/runtime-core/src/components/KeepAlive.ts:76–77  ·  view source on GitHub ↗
(vnode: VNode)

Source from the content-addressed store, hash-verified

74}
75
76export const isKeepAlive = (vnode: VNode): boolean =>
77 (vnode.type as any).__isKeepAlive
78
79const KeepAliveImpl: ComponentOptions = {
80 name: `KeepAlive`,

Callers 6

setupFunction · 0.90
normalizeVNodeSlotsFunction · 0.90
mountComponentFunction · 0.90
emptyPlaceholderFunction · 0.90
getInnerChildFunction · 0.90
registerKeepAliveHookFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected