class fwt::WebBrowser

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

@Js
@Serializable

Source

WebBrowser is used to display HTML text or view a URL.

back

This back()

Source

Navigate to the previous session history.

forward

This forward()

Source

Navigate to the next session history.

load

This load(Uri uri)

Source

Navigate to the specified URI.

loadStr

This loadStr(Str html)

Source

Load the given HTML into the browser.

EventListeners onHyperlink()

Source

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:

refresh

This refresh()

Source

Refresh the current page.

stop

This stop()

Source

Stop any load activity.