Skip to main content

@microsoft/fast-element > View > dispose

View.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