Nestable2 icon indicating copy to clipboard operation
Nestable2 copied to clipboard

What is fixedDepth?

Open mhanci92 opened this issue 7 years ago • 2 comments

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.

mhanci92 avatar Nov 25 '17 15:11 mhanci92

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

danielchen115 avatar Apr 19 '18 15:04 danielchen115

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?

contactjavas avatar Jun 20 '20 12:06 contactjavas