MCPcopy Index your code
hub / github.com/UI5/webcomponents / attachCustomCSSChange

Function attachCustomCSSChange

packages/base/src/theming/CustomStyle.ts:10–12  ·  view source on GitHub ↗
(listener: CustomCSSChangeCallback)

Source from the content-addressed store, hash-verified

8const CUSTOM_CSS_CHANGE = "CustomCSSChange";
9
10const attachCustomCSSChange = (listener: CustomCSSChangeCallback) => {
11 getEventProvider().attachEvent(CUSTOM_CSS_CHANGE, listener);
12};
13
14const detachCustomCSSChange = (listener: CustomCSSChangeCallback) => {
15 getEventProvider().detachEvent(CUSTOM_CSS_CHANGE, listener);

Callers 3

CustomStyle.tsFile · 0.85

Calls 2

attachEventMethod · 0.80
getEventProviderFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…