Demo-Page Repository

Home > mui-country-code-selector > CCSelectorState > cleanUp

CCSelectorState.cleanUp property

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The cleanup function which is executed when the component unmounts. Removes the reset event listener added to the form DOM element. Is returned by the initialize function.

Signature:

cleanUp: () => void;