Skip to main content
All docs
V18.2

constructor(component, element, cancel, data, fileName, format) Constructor

Initializes a new instance of the BootstrapUIWidgetExportEventArgs class with the specified settings.

Declaration

constructor(
    component: any,
    element: any,
    cancel: boolean,
    data: any,
    fileName: string,
    format: string
)

Parameters

Name Type Description
component any

The widget’s instance.

element any

The widget’s container.

cancel boolean

Allows you to prevent file saving.

data any

Exports data as a BLOB.

fileName string

The name of the file to be saved.

format string

The format of the file to be saved. Possible Values: ‘PNG’ | ‘PDF’ | ‘JPEG’ | ‘SVG’ | ‘GIF’

See Also