Skip to content

Commit 6c0fd37

Browse files
pas2alvivian-hu-zz
authored andcommitted
docs(drag-drop): Fix wrong class name (#14018)
1 parent 4d5625b commit 6c0fd37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cdk/drag-drop/drag-drop.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ by the directives:
6161
| `.cdk-drag` | Corresponds to a `cdkDrag` instance. |
6262
| `.cdk-drag-preview` | This is the element that will be rendered next to the user's cursor as they're dragging an item in a sortable list. By default the element looks exactly like the element that is being dragged. |
6363
| `.cdk-drag-placeholder` | This is element that will be shown instead of the real element as it's being dragged inside a `cdkDropList`. By default this will look exactly like the element that is being sorted. |
64-
| `.cdk-drop-dragging` | A class that is added to `cdkDropList` while the user is dragging an item. |
64+
| `.cdk-drop-list-dragging` | A class that is added to `cdkDropList` while the user is dragging an item. |
6565

6666
### Animations
6767
The drag-and-drop module supports animations both while sorting an element inside a list, as well as
@@ -79,7 +79,7 @@ Example animations:
7979

8080
```css
8181
/* Animate items as they're being sorted. */
82-
.cdk-drop-dragging .cdk-drag {
82+
.cdk-drop-list-dragging .cdk-drag {
8383
transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
8484
}
8585

0 commit comments

Comments
 (0)