Class: FileViewer

FileViewer TInst(title)

new FileViewer(title)

A version of Window used to just view files. Note: You need to call JSWindows#Window#FileViewer(TInst)#load to actually load a resource
Parameters:
Name Type Description
title string The title of the window.
Source:

Extends

  • Window(TInst)

Methods

load(url) → {Promise.<void>}

Loads a resource asynchronously into the window.
Parameters:
Name Type Description
url string The URL of the resource to show
Source:
Returns:
Type
Promise.<void>