WebKit2.WebView.prototype.load_plain_text
function load_plain_text(plain_text: String): void { // Gjs wrapper for webkit_web_view_load_plain_text() }
Load the specified plain_text string into web_view. The mime type of document will be "text/plain". You can monitor the load operation by connecting to WebKit2.WebView::load-changed signal.
- plain_text
The plain text to load