Skip to main content
Version: 2.x

HTMLView.appendTo() method

@microsoft/fast-element > HTMLView > appendTo

HTMLView.appendTo() method

Appends the view's DOM nodes to the referenced node.

Signature:

appendTo(node: Node): void;

Parameters

Parameter

Type

Description

node

Node

The parent node to append the view's DOM nodes to.

Returns:

void