loadAlternateHtml

open fun loadAlternateHtml(content: String, contentUri: String, baseUri: String? = null)(source)

Load the given @content string for the URI @content_uri.

This allows clients to display page-loading errors in the #WebKitWebView itself. When this method is called from #WebKitWebView::load-failed signal to show an error page, then the back-forward list is maintained appropriately. For everything else this method works the same way as webkit_web_view_load_html().

Parameters

content

the new content to display as the main page of the @web_view

contentUri

the URI for the alternate page content

baseUri

the base URI for relative locations or null