UNPKG

@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.08 kB
/** * @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 specified event. * In this way, the source component suppresses the built-in behavior that follows the event. */ preventDefault() { this.prevented = !0; } /** * Returns `true` if the event was prevented by any of its subscribers. * * @returns - Returns `true` if the default action was prevented. * 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 };