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