Comments (1)
Additional methods and events would be nice to have in this plugin.
For the question I asked about in #22 I can't find a parent while I'm in dragStart. I need a method, something like onItemMove that would kick in the dragMove function. I can't utilize placeClass to find my parent (I mean technically I can) but it's no use, since I don't have a method with which I could check where it's being move on the go, onItemDrag kicks in when I start dragging and onItemDrop when it's ended, meaning placeClass doesn't exist anymore. Since parent is being set while you do the dragMove I guess the necessity of getParent method is clear as well (even the setParent would be great for the flexibility in the future). Due to the lack of this method I can't imitate the placeholder getting red (showing restriction of dragging) and bouncing back to original place (as in nestedSortable) which would be really nice and intuitive.
Please use the onItemMaxDepth(callback)
event listener.
It would be great to have some output varieties, like toArray, toHierarchy etc (idea from nestedSortable, looks handy).
I recognize this request, stay updated.
I though nestable dragging (from the original solution) was done well enough, why did you decide to tune it?
The dragging is being tuned and will improve in the next release.
Any approx. date when new release is coming?
Next release (1.0) is scheduled approximately in the first week of may 2016. This release will establish the first stable API.
from domenu.
Related Issues (20)
- Dragging HOT 8
- Loading data using get_file_contents throws Uncaught SyntaxError: Unexpected token o HOT 5
- prevent post inside form HOT 2
- Rewrite to Babel HOT 2
- after received json how to save data in database if child leave is more than 5-10 HOT 1
- how to find my json id HOT 4
- onItemRemoved function HOT 2
- Select2 dropdown selection selects option text instead of option value. HOT 2
- Cannot handle escape strings HOT 3
- your's domenu Nestable plugin is very useful for me thank you for this stuff. HOT 1
- Can we have different colors to elements? HOT 1
- I dont want to allow parent be child of anothe parent HOT 3
- doMenu in Form element not working HOT 2
- item-remove only needed at end child level HOT 1
- D in menu FIX HOT 2
- doMenu value of title and id field HOT 1
- how to display id along with title of one doMenu at other doMenu? HOT 1
- How can I call createNewListItem with parameters from outside domenu() plugin?
- property assigned to Menu item HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from domenu.