Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is fixedDepth? #94

Open
mhanci92 opened this issue Nov 25, 2017 · 2 comments
Open

What is fixedDepth? #94

mhanci92 opened this issue Nov 25, 2017 · 2 comments

Comments

@mhanci92
Copy link

mhanci92 commented Nov 25, 2017

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 mhanci92 reopened this Nov 25, 2017
@danielchen115
Copy link

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

@contactjavas
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants