Description
Hi, i don't know if it's an issue with the documentation or the implementation. But the documentation reads:
/** prevent direct resizing by the user (default?: undefined = un-constrained) */
noResize?: boolean;
/** prevents direct moving by the user (default?: undefined = un-constrained) */
noMove?: boolean;
/** same as noMove+noResize but also prevents being pushed by other widgets or api (default?: undefined = un-constrained) */
locked?: boolean;
So for locked
I would assume that it does the same as noResize
and noMove
:
same as noMove+noResize but also ...
But if I create an item where locked
is true
, it can still be moved and resized via mouse. This is not the case if I create an item where noResize
is true
and noMove
is true
.
Steps to reproduce
- Create an item where
locked
istrue
- Create an item
noResize
istrue
andnoMove
istrue
- Try to move either via mouse
https://jsfiddle.net/7uognfyp/
Expected behavior
Neither item can be resized or moved.