Open local index.html in WebView

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
Alexey_R
Posts:7
Joined: Mon May 27, 2019 3:34 pm

Open local index.html in WebView

Post by Alexey_R »

Hello,
i am trying to open an HTML file that is located locally on my disk using the WebView module, but the page is not opening.

Code: Select all

WebView_ewo1.load("D:/HtmlTable/index.html");
Does WebView module open local html file? Or need to use web server for it open.


Kind regards
Alex

Alexey_R
Posts:7
Joined: Mon May 27, 2019 3:34 pm

Re: Open local index.html in WebView

Post by Alexey_R »

I found the answer to my question!

Code: Select all

WebView_ewo1.load("file:///D:/HtmlTable/index.html");

2 posts • Page 1 of 1