collapseTopMarginForChild
export
Compute top collapsed margin for the nth ​TNode
-child of a list of
TNodes.
#
Parametersn
#
required
n
:
number
;
The index for which the top margin should be collapsed.
tchildren
#
required
The list of ​TNode
children.
#
Returnsnull
when no margin collapsing should apply, a number otherwise.