Sets the content of the web view to the specified html.


  1. bOk = gui.setNavigatorHTML ( hComponent, sHtml, sBaseUrl )


External objects such as stylesheets or images referenced in the HTML document are located relative to baseUrl. The html is loaded immediately; external objects are loaded asynchronously.

When using this method, WebKit assumes that external resources such as JavaScript or style sheets are encoded in UTF-8 unless otherwise specified.


hComponent - valid GUI component handle
sHtml - html document content string
sBaseUrl - resource base path string

Return values

bOk - true on success

Available since ShiVa 2.0