Fan

 

class

fwt::WebBrowser

sys::Obj
  fwt::Widget
    fwt::WebBrowser

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

native This load(Uri uri)

Navigate to the specified URI.

loadStrSource

native This loadStr(Str html)

Load the given HTML into the browser.

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:

refreshSource

native This refresh()

Refresh the current page.

stopSource

native This stop()

Stop any load activity.