Skip to content

Commit 65d615b

Browse files
IlCallommalerba
authored andcommitted
docs(drag-drop) correct 'lockAxis' to 'cdkDropListLockAxis' (#14578)
Alike #13802 Closes #14572
1 parent 5968b46 commit 65d615b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ also be used when `cdkDrag` is placed inside a `cdkDropList`.
147147

148148
### Restricting movement along an axis
149149
By default, `cdkDrag` allows free movement in all directions. To restrict dragging to a
150-
specific axis, you can set `cdkDragLockAxis` on `cdkDrag` or `lockAxis` on `cdkDropList`
150+
specific axis, you can set `cdkDragLockAxis` on `cdkDrag` or `cdkDropListLockAxis` on `cdkDropList`
151151
to either `"x"` or `"y"`.
152152

153153
<!-- example(cdk-drag-drop-axis-lock) -->

0 commit comments

Comments
 (0)