Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/wavetermdev/waveterm
/ webviewFocus
Function
webviewFocus
frontend/app/view/webview/webview.tsx:1048–1051 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1046
}
1047
};
1048
const webviewFocus = () => {
1049
env.electron.setWebviewFocus(webview.getWebContentsId());
1050
model.nodeModel.focusNode();
1051
};
1052
const webviewBlur = () => {
1053
env.electron.setWebviewFocus(null);
1054
};
Callers
nothing calls this directly
Calls
1
focusNode
Method · 0.80
Tested by
no test coverage detected