provideShadowRootThemeTarget Type documentation¶
TypeScript declaration¶
import { provideShadowRootThemeTarget } from '@siemens/element-ng/shadow-root';Provides the shadow root specific theme service with a dedicated theme target for components using Shadow DOM encapsulation. Use this when the component defines and loads the Element theme in its own shadow root instead of reusing the theme defined on :root.
provideShadowRootThemeTarget(): Provider
Provides the shadow root specific theme service with a dedicated theme target for components using Shadow DOM encapsulation. Use this when the component defines and loads the Element theme in its own shadow root instead of reusing the theme defined on :root.
Except where otherwise noted, content on this site is licensed under MIT License.