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

Function bootExecutor

packages/base/src/Boot.ts:75–98  ·  view source on GitHub ↗
(resolve: PromiseResolve)

Source from the content-addressed store, hash-verified

73 }
74
75 const bootExecutor = async (resolve: PromiseResolve) => {
76 registerCurrentRuntime();
77
78 if (typeof document === "undefined") {
79 resolve();
80 return;
81 }
82
83 attachThemeRegistered(onThemeRegistered);
84
85 await initF6Navigation(); // depends on OpenUI5Support
86 await whenDOMReady();
87 await applyTheme(getTheme());
88 attachOpenUI5SupportListeners(); // depends on OpenUI5Support
89 insertFontFace();
90 insertSystemCSSVars();
91 insertScrollbarStyles();
92 fixSafariActiveState();
93
94 resolve();
95
96 booted = true;
97 eventProvider.fireEvent("boot");
98 };
99
100 bootPromise = new Promise(bootExecutor as (resolve: PromiseResolve) => void);
101 return bootPromise;

Callers

nothing calls this directly

Calls 12

registerCurrentRuntimeFunction · 0.85
attachThemeRegisteredFunction · 0.85
initF6NavigationFunction · 0.85
whenDOMReadyFunction · 0.85
applyThemeFunction · 0.85
insertFontFaceFunction · 0.85
insertSystemCSSVarsFunction · 0.85
insertScrollbarStylesFunction · 0.85
fixSafariActiveStateFunction · 0.85
fireEventMethod · 0.80
getThemeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…