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

Function resetConfiguration

packages/base/src/InitialConfiguration.ts:228–242  ·  view source on GitHub ↗
(testEnv?: boolean)

Source from the content-addressed store, hash-verified

226 * @private
227 */
228const resetConfiguration = (testEnv?: boolean) => {
229 if (testEnv) {
230 resetConfigurationFn();
231 }
232 // 1. Lowest priority - configuration script
233 parseConfigurationScript();
234
235 // 2. URL parameters overwrite configuration script parameters
236 if (!initialConfig.ignoreUrlParams) {
237 parseURLParameters();
238 }
239
240 // 3. If OpenUI5 is detected, it has the highest priority
241 applyOpenUI5Configuration();
242};
243
244export {
245 getAnimationMode,

Callers 3

initConfigurationFunction · 0.70

Calls 3

parseConfigurationScriptFunction · 0.85
parseURLParametersFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…