OpenedFile
The workbook open in the editor, as it was opened.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
from |
"device" | "host" | "source" |
Where it came from: this device (the Open button, or a file dropped on the editor), the host’s code (its file option, or open on the handle), or a plugin’s source, which origin names. |
name |
string |
Its file name, as shown. |
origin? |
FileOrigin |
Where it is kept, for a file from a source. |
size |
number |
Its size in bytes, as opened. |
Methods
Section titled “Methods”bytes()
Section titled “bytes()”bytes(): ArrayBuffer;A copy of its bytes as opened, before any edits.
Returns
Section titled “Returns”ArrayBuffer