UNPKG

@progress/kendo-react-sortable

Version:

React Sortable provides a sortable drag-and-drop functionality to elements within a list. KendoReact Sortable package

26 lines (25 loc) 907 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * @hidden */ export declare abstract class PreventableEvent { private prevented; /** * Prevents the default action for a specified event. * In this way, the source component suppresses the built-in behavior that follows the event. */ preventDefault(): void; /** * 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(): boolean; }