docs(drag-drop) correct 'lockAxis' to 'cdkDropListLockAxis' (#14578)

Alike https://github.com/angular/material2/pull/13802
Closes https://github.com/angular/material2/issues/14572
This commit is contained in:
Paolo Caleffi
2019-01-03 00:51:39 +01:00
committed by mmalerba
parent 5968b46df0
commit 65d615bad4
+1 -1
View File
@@ -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) -->