classafExplorer::HtmlViewer
sys::Obj afReflux::Panel afReflux::View afExplorer::HtmlViewer
(View) - A HTML viewer for HTTP and file resources.
- normaliseBrowserUrl
virtual Uri normaliseBrowserUrl(Uri resourceUri, Uri url)
Callback for normalising Browser URIs into Reflux URIs.
- onLoad
virtual Void onLoad(Event event)
Callback for when the Browser's page loads.
- onStatusText
virtual Void onStatusText(Event event)
Callback for when the Browser's status text changes.
- onTitleText
virtual Void onTitleText(Event event)
Callback for when the Browser's title text changes.
- resolveResource
virtual Obj resolveResource(Resource resource)
Hook for subclasses to convert the resource into either a URI or a Str. Returns
resource.uri
by default.- reuseView
virtual override Bool reuseView(Resource resource)
Returns
true
.- scrollToId
Scrolls the page to an ID. Handy for when setting the HTML via the text attribute.
scrollToId("#myId")