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

Function getStyleId

packages/base/src/ManagedStyles.ts:5–7  ·  view source on GitHub ↗
(name: string, value: string)

Source from the content-addressed store, hash-verified

3const isSSR = typeof document === "undefined";
4
5const getStyleId = (name: string, value: string) => {
6 return value ? `${name}|${value}` : name;
7};
8
9const shouldUpdate = (runtimeIndex: string | undefined) => {
10 if (runtimeIndex === undefined) {

Callers 4

createStyleFunction · 0.85
updateStyleFunction · 0.85
hasStyleFunction · 0.85
removeStyleFunction · 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…