Classes
Methods
openRemoteFile(docView, remoteURI, readOnly) → {Promise}
Open specified remote document in a new browser window/tab.
Redefine this method if for example, the document is to be opened in a new application tab.
Parameters:
| Name | Type | Description |
|---|---|---|
docView |
DocumentView | the DocumentView
from which this command in invoked. |
remoteURI |
string | the URI of the document to be opened. |
readOnly |
boolean | specifies whether it must be opened in read-only mode. |
- Source:
Returns:
A Promise containing a CommandResult.
- Type
- Promise