Skip to main content

Interface: Disposable

components.Disposable

Whether this component has to be manually destroyed once you are done with it to prevent memory leaks. This also ensures that the DOM events created by that component will be cleaned up.

Hierarchy

Implemented by

Properties

dispose

dispose: () => void

Type declaration

▸ (): void

Destroys the object from memory to prevent a memory leak.

Returns

void

Defined in

temp/components/base-types/base-types.ts:62