Skip to main content
Version: 4.3

ImageTriggerOptions

Per-call overrides accepted by the trigger returned from useImageExport. The output type is fixed at hook-construction time (instantiate a separate hook per format).

Properties

downloadAs?

readonly optional downloadAs?: string;

File name (without extension) to save the export to. When set, the exported file is also dropped via the browser download flow. Omit to only resolve the data URL.

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub