REMOVE_STYLES_ON_COMPONENT_DESTROY
A DI token that indicates whether styles of destroyed components should be removed from DOM.
API
const REMOVE_STYLES_ON_COMPONENT_DESTROY: InjectionToken<boolean>;
Description
A DI token that indicates whether styles of destroyed components should be removed from DOM.
By default, the value is set to true.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/platform-browser/REMOVE_STYLES_ON_COMPONENT_DESTROY