Skip to main content
Version: 1.x

@microsoft/fast-element > HTMLView > dispose

HTMLView.dispose() method

Removes the view and unbinds its behaviors, disposing of DOM nodes afterward. Once a view has been disposed, it cannot be inserted or bound again.

Signature:
dispose(): void;
Returns:

void