W3cubDocs

/Angular

REMOVE_STYLES_ON_COMPONENT_DESTROY

const

A DI token that indicates whether styles of destroyed components should be removed from DOM.

See more...

const REMOVE_STYLES_ON_COMPONENT_DESTROY: InjectionToken<boolean>;

Description

By default, the value is set to false. This will be changed in the next major version.

© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/platform-browser/REMOVE_STYLES_ON_COMPONENT_DESTROY