ngx-virtual-dnd 3.2.0-alpha.0 → 3.2.0-alpha.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-virtual-dnd",
3
- "version": "3.2.0-alpha.0",
3
+ "version": "3.2.0-alpha.1",
4
4
  "description": "A performant drag-and-drop library for Angular that works seamlessly with virtual scrolling",
5
5
  "keywords": [
6
6
  "angular",
@@ -21,7 +21,7 @@
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/gultyayev/ngx-virtual-dnd.git"
23
23
  },
24
- "homepage": "https://github.com/gultyayev/ngx-virtual-dnd#readme",
24
+ "homepage": "https://gultyayev.github.io/ngx-virtual-dnd/",
25
25
  "bugs": {
26
26
  "url": "https://github.com/gultyayev/ngx-virtual-dnd/issues"
27
27
  },
@@ -748,6 +748,17 @@ declare class KeyboardDragService {
748
748
  * The droppable registry is managed externally.
749
749
  */
750
750
  moveToDroppable(droppableId: string, targetIndex: number, totalItemCount: number): void;
751
+ /**
752
+ * Register the callback that scrolls a droppable's placeholder into view. It runs
753
+ * synchronously on every keyboard move into or within that droppable, so a drop that
754
+ * follows before the next render still lands inside the rendered range.
755
+ */
756
+ registerRevealer(droppableId: string, reveal: () => void): void;
757
+ /**
758
+ * Unregister a droppable's reveal callback. Ignored if another callback has since been
759
+ * registered under the same ID.
760
+ */
761
+ unregisterRevealer(droppableId: string, reveal: () => void): void;
751
762
  /**
752
763
  * Complete the keyboard drag (Space or Enter to drop).
753
764
  */