Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp component base.basecomponent.ondispose

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-component-base > BaseComponent > onDispose

BaseComponent.onDispose() method

This event method is called at the end of the component's lifecycle. It provides an opportunity to release any associated resources, cancel any outstanding requests, etc. virtual

Signature:

protected onDispose(): void;

Returns:

void

Clone this wiki locally