htmlText

Typeproperty
Dictionarywidget.browser
LibraryBrowser
Syntax
set the htmlText of <widget> to <pHtmlText>
get the htmlText of <widget>
Associationscom.livecode.widget.browser
Summary

The HTML text of the content displayed by the browser.

Parameters
NameTypeDescription
pHtmlText

A string containing HTML data to be displayed by the browser.

Example
-- Render a web page in the browser by specifying custom HTML
-- content
local tHTML
put "<html><head><title>My Page Title</title></head>" & \
		"<body>My Page Contents</body></html>" into tHTML
set the htmlText of widget "myBrowser" to tHTML
RelatedProperty: URL
Description

The htmlText is the HTML representation of the content displayed in the browser.

Note: When the htmlText has been set, the URL property will be empty. When the URL property is not empty, the htmlText will contain the source of the current URL displayed in the browser.