|
1371 | 1371 | "description": "Selector that will be used to resolve an alternate element container for the drop list.\nPassing an alternate container is useful for the cases where one might not have control\nover the parent node of the draggable items within the list (e.g. due to content projection).\nThis allows for usages like:\n\n```\n<div cdkDropList cdkDropListElementContainer=\".inner\">\n <div class=\"inner\">\n <div cdkDrag></div>\n </div>\n</div>\n```",
|
1372 | 1372 | "jsdocTags": []
|
1373 | 1373 | },
|
| 1374 | + { |
| 1375 | + "name": "hasAnchor", |
| 1376 | + "type": "boolean", |
| 1377 | + "memberType": "property", |
| 1378 | + "memberTags": [], |
| 1379 | + "description": "By default when an item leaves its initial container, its placeholder will be transferred\nto the new container. If that's not desirable for your use case, you can enable this option\nwhich will clone the placeholder and leave it inside the original container. If the item is\nreturned to the initial container, the anchor element will be removed automatically.\n\nThe cloned placeholder can be styled by targeting the `cdk-drag-anchor` class.\n\nThis option is useful in combination with `cdkDropListSortingDisabled` to implement copying\nbehavior in a drop list.", |
| 1380 | + "jsdocTags": [] |
| 1381 | + }, |
1374 | 1382 | {
|
1375 | 1383 | "name": "dropped",
|
1376 | 1384 | "type": "EventEmitter<CdkDragDrop<T, any, any>>",
|
|
1591 | 1599 | "source": {
|
1592 | 1600 | "filePath": "/src/cdk/drag-drop/directives/drop-list.ts",
|
1593 | 1601 | "startLine": 36,
|
1594 |
| - "endLine": 423 |
| 1602 | + "endLine": 438 |
1595 | 1603 | }
|
1596 | 1604 | },
|
1597 | 1605 | {
|
|
2747 | 2755 | "description": "Number of pixels to scroll for each frame when auto-scrolling an element.",
|
2748 | 2756 | "jsdocTags": []
|
2749 | 2757 | },
|
| 2758 | + { |
| 2759 | + "name": "hasAnchor", |
| 2760 | + "type": "boolean", |
| 2761 | + "memberType": "property", |
| 2762 | + "memberTags": [], |
| 2763 | + "description": "Whether the items in the list should leave an anchor node when leaving the initial container.", |
| 2764 | + "jsdocTags": [] |
| 2765 | + }, |
2750 | 2766 | {
|
2751 | 2767 | "name": "enterPredicate",
|
2752 | 2768 | "type": "(drag: DragRef<any>, drop: DropListRef<any>) => boolean",
|
|
3858 | 3874 | "memberType": "method",
|
3859 | 3875 | "memberTags": []
|
3860 | 3876 | },
|
| 3877 | + { |
| 3878 | + "name": "getItemAtIndex", |
| 3879 | + "signatures": [ |
| 3880 | + { |
| 3881 | + "name": "getItemAtIndex", |
| 3882 | + "entryType": "function", |
| 3883 | + "description": "Gets the item at a specific index.", |
| 3884 | + "generics": [], |
| 3885 | + "isNewType": false, |
| 3886 | + "jsdocTags": [ |
| 3887 | + { |
| 3888 | + "name": "param", |
| 3889 | + "comment": "Index at which to retrieve the item." |
| 3890 | + } |
| 3891 | + ], |
| 3892 | + "params": [ |
| 3893 | + { |
| 3894 | + "name": "index", |
| 3895 | + "description": "Index at which to retrieve the item.", |
| 3896 | + "type": "number", |
| 3897 | + "isOptional": false, |
| 3898 | + "isRestParam": false |
| 3899 | + } |
| 3900 | + ], |
| 3901 | + "rawComment": "/**\n * Gets the item at a specific index.\n * @param index Index at which to retrieve the item.\n */", |
| 3902 | + "returnType": "DragRef<any> | null" |
| 3903 | + } |
| 3904 | + ], |
| 3905 | + "implementation": { |
| 3906 | + "params": [ |
| 3907 | + { |
| 3908 | + "name": "index", |
| 3909 | + "description": "Index at which to retrieve the item.", |
| 3910 | + "type": "number", |
| 3911 | + "isOptional": false, |
| 3912 | + "isRestParam": false |
| 3913 | + } |
| 3914 | + ], |
| 3915 | + "isNewType": false, |
| 3916 | + "returnType": "DragRef<any> | null", |
| 3917 | + "generics": [], |
| 3918 | + "name": "getItemAtIndex", |
| 3919 | + "description": "Gets the item at a specific index.", |
| 3920 | + "entryType": "function", |
| 3921 | + "jsdocTags": [ |
| 3922 | + { |
| 3923 | + "name": "param", |
| 3924 | + "comment": "Index at which to retrieve the item." |
| 3925 | + } |
| 3926 | + ], |
| 3927 | + "rawComment": "/**\n * Gets the item at a specific index.\n * @param index Index at which to retrieve the item.\n */" |
| 3928 | + }, |
| 3929 | + "entryType": "function", |
| 3930 | + "description": "Gets the item at a specific index.", |
| 3931 | + "jsdocTags": [ |
| 3932 | + { |
| 3933 | + "name": "param", |
| 3934 | + "comment": "Index at which to retrieve the item." |
| 3935 | + } |
| 3936 | + ], |
| 3937 | + "rawComment": "/**\n * Gets the item at a specific index.\n * @param index Index at which to retrieve the item.\n */", |
| 3938 | + "memberType": "method", |
| 3939 | + "memberTags": [] |
| 3940 | + }, |
3861 | 3941 | {
|
3862 | 3942 | "name": "isReceiving",
|
3863 | 3943 | "signatures": [
|
|
3905 | 3985 | "source": {
|
3906 | 3986 | "filePath": "/src/cdk/drag-drop/drop-list-ref.ts",
|
3907 | 3987 | "startLine": 55,
|
3908 |
| - "endLine": 772 |
| 3988 | + "endLine": 787 |
3909 | 3989 | }
|
3910 | 3990 | },
|
3911 | 3991 | {
|
|
4681 | 4761 | "implements": [],
|
4682 | 4762 | "source": {
|
4683 | 4763 | "filePath": "/src/cdk/drag-drop/drag-ref.ts",
|
4684 |
| - "startLine": 99, |
4685 |
| - "endLine": 102 |
| 4764 | + "startLine": 102, |
| 4765 | + "endLine": 105 |
4686 | 4766 | }
|
4687 | 4767 | },
|
4688 | 4768 | {
|
|
4695 | 4775 | "jsdocTags": [],
|
4696 | 4776 | "source": {
|
4697 | 4777 | "filePath": "/src/cdk/drag-drop/drag-ref.ts",
|
4698 |
| - "startLine": 122, |
4699 |
| - "endLine": 122 |
| 4778 | + "startLine": 125, |
| 4779 | + "endLine": 125 |
4700 | 4780 | }
|
4701 | 4781 | },
|
4702 | 4782 | {
|
|
5885 | 5965 | "implements": [],
|
5886 | 5966 | "source": {
|
5887 | 5967 | "filePath": "/src/cdk/drag-drop/drag-ref.ts",
|
5888 |
| - "startLine": 127, |
5889 |
| - "endLine": 1588 |
| 5968 | + "startLine": 130, |
| 5969 | + "endLine": 1631 |
5890 | 5970 | }
|
5891 | 5971 | }
|
5892 | 5972 | ],
|
|
6463 | 6543 | "CdkDropList.elementContainerSelector",
|
6464 | 6544 | "@angular/cdk/drag-drop"
|
6465 | 6545 | ],
|
| 6546 | + [ |
| 6547 | + "CdkDropList.hasAnchor", |
| 6548 | + "@angular/cdk/drag-drop" |
| 6549 | + ], |
6466 | 6550 | [
|
6467 | 6551 | "CdkDropList.dropped",
|
6468 | 6552 | "@angular/cdk/drag-drop"
|
|
6639 | 6723 | "DropListRef.autoScrollStep",
|
6640 | 6724 | "@angular/cdk/drag-drop"
|
6641 | 6725 | ],
|
| 6726 | + [ |
| 6727 | + "DropListRef.hasAnchor", |
| 6728 | + "@angular/cdk/drag-drop" |
| 6729 | + ], |
6642 | 6730 | [
|
6643 | 6731 | "DropListRef.enterPredicate",
|
6644 | 6732 | "@angular/cdk/drag-drop"
|
|
6735 | 6823 | "DropListRef.getItemIndex",
|
6736 | 6824 | "@angular/cdk/drag-drop"
|
6737 | 6825 | ],
|
| 6826 | + [ |
| 6827 | + "DropListRef.getItemAtIndex", |
| 6828 | + "@angular/cdk/drag-drop" |
| 6829 | + ], |
6738 | 6830 | [
|
6739 | 6831 | "DropListRef.isReceiving",
|
6740 | 6832 | "@angular/cdk/drag-drop"
|
|
0 commit comments