classafExplorer::HtmlViewer
sys::Obj afReflux::Panel afReflux::View afExplorer::HtmlViewer
(View) - A HTML viewer for HTTP and file resources.
- normaliseBrowserUrl
protected virtual Uri normaliseBrowserUrl(Uri resourceUri, Uri url)
- onLoad
protected virtual Void onLoad(Event event)
Callback when then page loads.
- 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")