MCPcopy Create free account
hub / github.com/UI5/webcomponents / getComponentStyles

Function getComponentStyles

packages/base/src/theming/componentStyles.ts:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2let componentsStyleSheet: CSSStyleSheet;
3
4const getComponentStyles = () => {
5 if (!componentsStyleSheet) {
6 componentsStyleSheet = new CSSStyleSheet();
7 }
8
9 return componentsStyleSheet;
10};
11
12const updateComponentStyles = (packageName: string, content: string) => {
13 packageMap.set(packageName, content);

Callers 2

updateShadowRootFunction · 0.85
updateComponentStylesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…