@tempots/dom

Signal.onDispose property

Adds a listener function to be called when the object is disposed.

Signature:

readonly onDispose: (listener: () => void) => void;