MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / init

Function init

wvbrowser_ui/content_ui/history.js:265–271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263}
264
265function init() {
266 window.chrome.webview.addEventListener('message', messageHandler);
267
268 let viewportItemsCapacity = Math.round(window.innerHeight / itemHeight);
269 addUIListeners();
270 getMoreHistoryItems(viewportItemsCapacity);
271}
272
273init();

Callers 1

history.jsFile · 0.70

Calls 2

addUIListenersFunction · 0.85
getMoreHistoryItemsFunction · 0.85

Tested by

no test coverage detected