SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface ReadEvent

    Fired after a workbook has been successfully read.

    interface ReadEvent {
        origin: IWorkbookIO.Origin;
        workbook: IWorkbook;
    }

    Hierarchy (View Summary)

    Index

    The IWorkbookIO.Origin handle the operation actually used — the file read, or the file written: the workbook's own origin for a plain save, a new one for a save that resolved a destination (a first save, a Save As), the target for an export. Its format is the one read or written.

    Uniform across read and write, so an ambient listener (e.g. recent-files) can track "the handle just touched" without branching on the event kind.

    workbook: IWorkbook

    The workbook that was read or written. A listener filters on this to react to a specific workbook (the service is shared across all of them).