Skip to content

Commit

Permalink
docs(drag-drop) correct 'lockAxis' to 'cdkDropListLockAxis' (#14578)
Browse files Browse the repository at this point in the history
Alike #13802
Closes #14572
  • Loading branch information
IlCallo authored and mmalerba committed Jan 2, 2019
1 parent 5968b46 commit 65d615b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdk/drag-drop/drag-drop.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ also be used when `cdkDrag` is placed inside a `cdkDropList`.

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

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

0 comments on commit 65d615b

Please sign in to comment.