Skip to main content
Version: 1.x

@microsoft/fast-element > SyntheticView > insertBefore

SyntheticView.insertBefore() method

Inserts the view's DOM nodes before the referenced node.

Signature:
insertBefore(node: Node): void;

Parameters

ParameterTypeDescription
nodeNodeThe node to insert the view's DOM before.
Returns:

void