@progress/kendo-angular-chart-wizard
Version:
Kendo UI Angular Chart Wizard component
38 lines (37 loc) • 1.15 kB
JavaScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { PreventableEvent } from './preventable-event';
/**
* Represents the arguments for the `export` event in the Chart Wizard.
*
* Use this event to customize the export process or prevent it.
*
* @example
* ```typescript
* exportEventHandler(event: ExportEvent): void {
* if (event.exportOptions.fileName === 'restricted') {
* event.preventDefault();
* }
* }
* ```
*/
export class ExportEvent extends PreventableEvent {
/**
* Defines the export options for the Chart Wizard.
*/
exportOptions;
/**
* Provides the current `ChartComponent` instance to export.
*/
chart;
/**
* @hidden
*/
constructor(chart, exportOptions) {
super();
this.chart = chart;
this.exportOptions = exportOptions;
}
}