You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a bit confused as to how to call shiftLayout on the packery instance. I have a listener on the dragStart and dragEnd events of Draggabilly to shrink the height of all elements to make them easier to drag and then once it's done bring the heights back to full. But when this happens I need to have packery shift the layout like their animation example so that everything shifts up to one another. How am I supposed to call this on the instance?
I have the packery data set to a scope property like so
I'm a bit confused as to how to call
shiftLayout
on the packery instance. I have a listener on thedragStart
anddragEnd
events of Draggabilly to shrink the height of all elements to make them easier to drag and then once it's done bring the heights back to full. But when this happens I need to have packery shift the layout like their animation example so that everything shifts up to one another. How am I supposed to call this on the instance?I have the packery data set to a scope property like so
But in my listeners I can't figure out what the proper way to call the
shiftLayout
method is.The text was updated successfully, but these errors were encountered: