Interface SuspenseBoundary
interface SuspenseBoundary { activeBranch: null | VNode<RendererNode, RendererElement, { [
key:
string]
: any; }>; container: RendererElement; deps: number; effects: Function[]; hiddenContainer: RendererElement; isHydrating: boolean; isInFallback: boolean; isUnmounted: boolean; namespace: ElementNamespace; parent: null | SuspenseBoundary; parentComponent: null | ComponentInternalInstance; pendingBranch: null | VNode<RendererNode, RendererElement, { [
key:
string]
: any; }>; pendingId: number; timeout: number; vnode: VNode<RendererNode, RendererElement, SuspenseProps>; fallback(fallbackVNode: VNode<RendererNode, RendererElement, { [
key:
string]
: any; }>): void; move(container: RendererElement,
anchor: null | RendererNode,
type: MoveType): void; next(): null | RendererNode; registerDep(instance: ComponentInternalInstance,
setupRenderEffect: SetupRenderEffectFn,
optimized: boolean): void; resolve(force?: boolean,
sync?: boolean): void; unmount(parentSuspense: null | SuspenseBoundary,
doRemove?: boolean): void; } Properties
activeBranch
container
deps
deps: number
effects
effects: Function[]
hiddenContainer
isHydrating
isHydrating: boolean
isInFallback
isInFallback: boolean
isUnmounted
isUnmounted: boolean
namespace
parent
parentComponent
pendingBranch
pendingId
pendingId: number
timeout
timeout: number
vnode
Methods
fallback
- fallback(fallbackVNode): void
Returns void
move
- move(container, anchor, type): void
Returns void
next
- next(): null | RendererNode
registerDep
- registerDep(instance, setupRenderEffect, optimized): void
Returns void
resolve
- resolve(force?, sync?): void
Parameters
Optional
force: booleanOptional
sync: boolean
Returns void
unmount
- unmount(parentSuspense, doRemove?): void
Returns void