I would like to drag new items into the packery grid and basically have it work like it does when you are moving items around within the packery grid. Is there anyway to invoke the dragging of a packery item programmatically? Seems like what I need to do is when I drag an outside item over the packery grid, immediately insert a new packery item and then start dragging it.
I've tried doing some of this by creating and item and then repeatedly calling "fit" in the ondragover event. Does not work well at all. Seems like the functionality is all there, I just need to invoke it myself programmatically.
Any way to do this kind of thing? Is any of this making sense? :)
I would like to drag new items into the packery grid and basically have it work like it does when you are moving items around within the packery grid. Is there anyway to invoke the dragging of a packery item programmatically? Seems like what I need to do is when I drag an outside item over the packery grid, immediately insert a new packery item and then start dragging it.
I've tried doing some of this by creating and item and then repeatedly calling "fit" in the ondragover event. Does not work well at all. Seems like the functionality is all there, I just need to invoke it myself programmatically.
Any way to do this kind of thing? Is any of this making sense? :)