Skip to content

Commit 2a416d0

Browse files
IlCallojosephperrott
authored andcommitted
docs(drag-drop) correct 'lockAxis' to 'cdkDropListLockAxis' (angular#14578)
Alike angular#13802 Closes angular#14572
1 parent 2dd7a96 commit 2a416d0

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)