@progress/kendo-angular-sortable
Version:
A Sortable Component for Angular
27 lines (26 loc) • 987 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Defines an event whose default action can be prevented
* by calling the `preventDefault` method.
*
* @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;
/**
* If the event was prevented
* by any of its subscribers, returns `true`.
*
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
*/
isDefaultPrevented(): boolean;
}