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

Save packery gird items default positions #535

Open
ghost opened this issue Oct 9, 2019 · 2 comments
Open

Save packery gird items default positions #535

ghost opened this issue Oct 9, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 9, 2019

Hi all,
I need to save the default positions of the grid items on a button click.
I'm able to save and reload the grid items. but, after resetting the grid items, if I hit F5 it is taking me back to previous grid positions.

I want to save default positions on a click. please help.

// I'm not able to save the default grid positions after this line of code.
$grid.packery('reloadItems');

thanks in advance.

@ghost
Copy link
Author

ghost commented Oct 9, 2019

all I want is, save pre-dragged position on button click.

please help,
thank you.

@flieks
Copy link

flieks commented Apr 21, 2021

Also interested. @Hulk93 did you find this ?

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

No branches or pull requests

1 participant