Skip to content
0

katanakit-js / useDestroyTheme

Function: useDestroyTheme() ​

ts
function useDestroyTheme(): void;

Defined in: src/infrastructure/theme/theme.service.ts:232

Cleans up the media-query listener. Call this when the theme system is no longer needed (e.g. during teardown in tests).

Returns ​

void

Example ​

ts
useDestroyTheme();

Released under the MIT License.