Skip to content

OpenedFile

The workbook open in the editor, as it was opened.

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.
bytes(): ArrayBuffer;

A copy of its bytes as opened, before any edits.

ArrayBuffer