UNPKG

@progress/kendo-angular-treeview

Version:
30 lines (29 loc) 1.03 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Defines the auto-scrolling behavior during drag-and-drop operations in the TreeView. * When enabled, the first scrollable container above the TreeView will scroll automatically * when the dragged item reaches the top or bottom edge of that container. */ export interface DragAndDropScrollSettings { /** * Determines whether auto-scrolling is enabled during drag-and-drop. * * @default true */ enabled?: boolean; /** * The number of pixels to scroll per step. * * @default 1 */ step?: number; /** * The interval in milliseconds between scroll steps. * * @default 1 */ interval?: number; }