MCPcopy Create free account
hub / github.com/wavetermdev/waveterm / newWindowHandler

Function newWindowHandler

frontend/app/view/webview/webview.tsx:1020–1024  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

1018 }
1019 };
1020 const newWindowHandler = (e: any) => {
1021 e.preventDefault();
1022 const newUrl = e.detail.url;
1023 fireAndForget(() => openLink(newUrl, true));
1024 };
1025 const startLoadingHandler = () => {
1026 model.setRefreshIcon("xmark-large");
1027 model.setIsLoading(true);

Callers

nothing calls this directly

Calls 2

fireAndForgetFunction · 0.90
openLinkFunction · 0.90

Tested by

no test coverage detected