Cookies concent notice

This site uses cookies from Google to deliver its services and to analyze traffic.
Learn more
Skip to main content
This site is no longer updated.Head to Angular.devHome
/

This is the archived documentation for Angular v17. Please visit angular.dev to see this page for the current version of Angular.

REMOVE_STYLES_ON_COMPONENT_DESTROY

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 true.