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

Function initF6Navigation

packages/base/src/Boot.ts:44–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 * In this case, deregister the UI5 Web Components listener
43 */
44const initF6Navigation = async () => {
45 const openUI5Support = getFeature<typeof OpenUI5Support>("OpenUI5Support");
46 const isOpenUI5Loaded = openUI5Support ? openUI5Support.isOpenUI5Detected() : false;
47 const f6Navigation = getFeature<typeof F6Navigation>("F6Navigation");
48
49 if (openUI5Support) {
50 f6Navigation && f6Navigation.destroy(); // F6Navigation is not needed when OpenUI5 is used
51 await openUI5Support.init();
52 }
53
54 if (f6Navigation && !isOpenUI5Loaded) {
55 f6Navigation.init();
56 }
57};
58
59const attachOpenUI5SupportListeners = () => {
60 if (openUI5ListenersAttached) {

Callers 2

bootExecutorFunction · 0.85
secondaryBootFunction · 0.85

Calls 4

getFeatureFunction · 0.85
isOpenUI5DetectedMethod · 0.80
destroyMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…