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

Function initConfiguration

packages/base/src/InitialConfiguration.ts:214–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212};
213
214const initConfiguration = () => {
215 if (typeof document === "undefined" || initialized) {
216 return;
217 }
218
219 resetConfiguration();
220
221 initialized = true;
222};
223
224/**
225 * Internaly exposed method to enable configurations in tests.

Callers 13

getAnimationModeFunction · 0.85
getThemeFunction · 0.85
getThemeRootFunction · 0.85
getLanguageFunction · 0.85
getFetchDefaultLanguageFunction · 0.85
getNoConflictFunction · 0.85
getDefaultFontLoadingFunction · 0.85
getEnableDefaultTooltipsFunction · 0.85
getIgnoreUrlParamsFunction · 0.85
getCalendarTypeFunction · 0.85
getSecondaryCalendarTypeFunction · 0.85
getTimezoneFunction · 0.85

Calls 1

resetConfigurationFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…