RamonSmit / Nestable2

New pickup of Nestable!
Other
322 stars 147 forks source link

What is fixedDepth? #94

Open mhanci92 opened 6 years ago

mhanci92 commented 6 years ago

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.

danielchen115 commented 6 years ago

It defines the levels of nesting allowed. A fixedDepth of 3 would allow an element to have 3 "generations" of children

contactjavas commented 4 years ago

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?