Skip to main content

Home > @jsplumbtoolkit/browser-ui > ImageExportUIOptions

ImageExportUIOptions interface

Options for the image export UI.

Signature:

export interface ImageExportUIOptions extends ImageExportOptions 

Extends: ImageExportOptions

Properties

PropertyModifiersTypeDescription
dimensions?Array<{ width?: number; height?: number; }>(Optional) Optional list of dimensions
downloadButtonLabel?string(Optional) Optional label to use on the download button. Defaults to "Download".
filename?string(Optional) Optional filename to use - defaults to jsplumbtoolkit-export. You do not need to provide the extension.
onDimensionsChanged?(width: number, height: number, url: string) => any(Optional) Optional function to invoke when the user changes the selected dimensions.
onShow?(el: Element, width: number, height: number, url: string) => any(Optional) Optional function to invoke after the UI has been displayed.