MCPcopy Index your code
hub / github.com/REditorSupport/vscode-R / refreshHtml

Method refreshHtml

src/plotViewer/index.ts:676–683  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

674 // functions for initial or re-drawing of html:
675
676 protected refreshHtml(): void {
677 this.webviewPanel ??= this.makeNewWebview();
678 this.webviewPanel.webview.html = '';
679 this.webviewPanel.webview.html = this.makeHtml();
680 // make sure that fullWindow is set correctly:
681 this.toggleFullWindow(this.fullWindow);
682 void this.setContextValues(true);
683 }
684
685 protected makeHtml(): string {
686 const ejsData = this.makeEjsData();

Callers 2

showMethod · 0.95
refreshPlotsMethod · 0.95

Calls 4

makeNewWebviewMethod · 0.95
makeHtmlMethod · 0.95
toggleFullWindowMethod · 0.95
setContextValuesMethod · 0.95

Tested by

no test coverage detected