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. |
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 |
Returns:
- Type
- Promise.<void>