[read-only] The axis along which movement is locked (either
"y"). For example, if
true on a Draggable of
type:"x,y", and the user starts dragging horizontally,
lockedAxis would be
"y" because vertical movement won't be allowed during that drag. The
lockedAxis property isn't set immediately upon press - the Draggable must wait to see which direction the user drags first. You can define a
onLockAxis callback if you'd like to be notified when the axis gets locked.
lockedAxis is also populated on touch-enabled devices when you have a Draggable whose
type only permits it to drag along one axis (like
type:"top") and the user touch-drags and the Draggable determines the direction, either allowing native touch-scrolling or Draggable-induced dragging.
Added in Draggable 0.13.0
console.log("locked axis: " + this.lockedAxis);