rullino
    Preparing search index...

    Interface AttachedEdit

    interface AttachedEdit {
        detach(): void;
        export(edit?: unknown): Promise<Blob>;
        set(edit: unknown): Promise<void>;
    }
    Index
    • Puts the original image back on the node; the edit can no longer be used.

      Returns void

    • Renders edit (default: the last one set) on the full-resolution original and encodes it as its output says.

      Parameters

      • Optionaledit: unknown

      Returns Promise<Blob>

    • Shows edit (an edit document) on the node: rendered at the node's size on screen, capped at the source's, then swapped in and the layer redrawn. Calls made while a render runs coalesce: only the latest document is rendered next, and every returned promise resolves once it is shown. The document's output is ignored here; it applies to export().

      Parameters

      • edit: unknown

      Returns Promise<void>