ngx-virtual-dnd 3.3.0 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -13
- package/fesm2022/ngx-virtual-dnd.mjs +71 -28
- package/fesm2022/ngx-virtual-dnd.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-virtual-dnd.d.ts +2 -1
package/package.json
CHANGED
|
@@ -452,8 +452,9 @@ declare class DragStateService {
|
|
|
452
452
|
/**
|
|
453
453
|
* Start a drag operation.
|
|
454
454
|
* `placeholderId` is deprecated with the `placeholderId` signal; the library passes `END_OF_LIST`.
|
|
455
|
+
* `isTouchDrag` marks a drag started by touch, which gets no grabbing cursor.
|
|
455
456
|
*/
|
|
456
|
-
startDrag(item: DraggedItem, cursorPosition?: CursorPosition, grabOffset?: GrabOffset, lockAxis?: 'x' | 'y' | null, activeDroppableId?: string | null, placeholderId?: string | null, placeholderIndex?: number | null, sourceIndex?: number | null, isKeyboardDrag?: boolean, axisLockPosition?: CursorPosition): void;
|
|
457
|
+
startDrag(item: DraggedItem, cursorPosition?: CursorPosition, grabOffset?: GrabOffset, lockAxis?: 'x' | 'y' | null, activeDroppableId?: string | null, placeholderId?: string | null, placeholderIndex?: number | null, sourceIndex?: number | null, isKeyboardDrag?: boolean, axisLockPosition?: CursorPosition, isTouchDrag?: boolean): void;
|
|
457
458
|
/**
|
|
458
459
|
* Update the drag position and targets.
|
|
459
460
|
* `placeholderId` is deprecated with the `placeholderId` signal; the library passes `END_OF_LIST`.
|