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

Function forceReflow

packages/runtime-dom/src/components/Transition.ts:479–482  ·  view source on GitHub ↗
(el?: Node)

Source from the content-addressed store, hash-verified

477
478// synchronously force layout to put elements into a certain state
479export function forceReflow(el?: Node): number {
480 const targetDocument = el ? el.ownerDocument! : document
481 return targetDocument.body.offsetHeight
482}

Callers 2

setupFunction · 0.90
onLeaveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected