Nestable2
Nestable2 copied to clipboard
What is fixedDepth?
Hey guys,
I was just checking out the jquery.nestable.js and saw an attribute called "fixedDepth". The name kind of suggests what it could stand for, but it doesn't really seem to be doing what I though it was doing. The issue is that I could not find any explanation on its functionality and what it actually stands for. Could someone please elaborate on it? It would also be very nice if the Readme.md would be up to date.
It defines the levels of nesting allowed. A fixedDepth of 3 would allow an element to have 3 "generations" of children
It defines the levels of nesting allowed. A fixedDepth of 3 would allow an element to have 3 "generations" of children
Would it be better to be maxDepth
instead of fixedDepth
?