UseDestroyTheme
katanakit-js / useDestroyTheme
Function: useDestroyTheme()
Section titled “Function: useDestroyTheme()”function useDestroyTheme(): void;Defined in: 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
Section titled “Returns”void
Example
Section titled “Example”useDestroyTheme();