1.2.14 • Published 3 years ago
@softvisio/webview v1.2.14
:information_source: Please, see the full project documentation here: https://softvisio.github.io/webview/.
Introduction
NodeJS
wrapper for webview.
Compiled binaries: suchipi/webview.
Install
npm i @softvisio/webview
Usage
import WebView from "@softvisio/webview";
const webView = new WebView("https://example.com/", { title: "Example", width: 400, height: 400 });
webView.on("close", () => {});
webView.close();
Notes
Windows
On windows, the webview will not be able to access localhost unless the following command has been run as administrator at least once before:
checknetisolation.exe LoopbackExempt -a -n=Microsoft.Win32WebViewHost_cw5n1h2txyewy
curl -sSLO https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
nuget.exe install Microsoft.Web.Webview2 -OutputDirectory script
cl -DSFML_STATIC /std:c++17 /EHsc /I script\Microsoft.Web.WebView2.1.0.1185.39\build\native\include script\Microsoft.Web.WebView2.1.0.1185.39\build\native\x64\WebView2Loader.dll.lib main.cc /link /out:webview.exe
Linux
On Linux, you need to install GTK3 and GtkWebkit2.
sudo apt-get install libwebkit2gtk-4.0-dev
1.2.13
3 years ago
1.2.14
3 years ago
1.2.8
3 years ago
1.2.7
3 years ago
1.2.6
3 years ago
1.2.5
3 years ago
1.2.4
3 years ago
1.2.3
3 years ago
1.2.2
3 years ago
1.2.9
3 years ago
1.2.12
3 years ago
1.2.10
3 years ago
1.2.11
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.0
3 years ago