@progress/kendo-react-chart-wizard
Version:
React Chart Wizard lets you create a chart using data from a Grid, another data-bound component, or an external source
39 lines (38 loc) • 1.09 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
class s {
constructor() {
this.prevented = !1;
}
/* eslint-disable max-len */
/**
* Prevents the default action for a specific event.
* This action stops the source component from executing its built-in behavior that follows the event.
*/
preventDefault() {
this.prevented = !0;
}
/**
* Returns `true` if any of the event subscribers prevented the event.
*
* @returns - Returns `true` if you prevented the default action.
* Otherwise, returns `false`.
*/
isDefaultPrevented() {
return this.prevented;
}
}
class n extends s {
constructor(t, r) {
super(), this.chart = t, this.exportOptions = r;
}
}
export {
n as ExportEvent,
s as PreventableEvent
};