WebBrowser is used to display HTML text or view a URL.
Slots
- backSource
-
native This back()
Navigate to the previous session history.
- forwardSource
-
native This forward()
Navigate to the next session history.
- loadSource
-
Navigate to the specified URI.
- loadStrSource
-
Load the given HTML into the browser.
- onHyperlinkSource
-
readonly EventListeners onHyperlink := EventListeners()
Callback when the user clicks a hyperlink. The callback is invoked before the actual hyperlink. The event handler can modify the
data
field with a new Uri or set to null to cancel the hyperlink. This callback is not called if explicitly loaded via the load method.Event id fired:
Event fields:
Event.data
: thesys::Uri
of the new page.
- refreshSource
-
native This refresh()
Refresh the current page.
- stopSource
-
native This stop()
Stop any load activity.