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

please add a destroy function to rowGrid.js #30

Open
Anzka opened this issue May 15, 2017 · 2 comments
Open

please add a destroy function to rowGrid.js #30

Anzka opened this issue May 15, 2017 · 2 comments

Comments

@Anzka
Copy link

Anzka commented May 15, 2017

Hello brunjo,

i like your tool, but i have problems to destroy your resize layout function if i change the view. On mobile i working with a slider, and I want to switch off all functions of row grid.

Thanks a lot :-)

@brunjo
Copy link
Owner

brunjo commented May 16, 2017

There's no method to disable rowGrid but you could do it manually like this:

$(window).off('resize.rowGrid');
$('.container .item').removeAttr('style').removeClass('first-item last-row');

@Anzka
Copy link
Author

Anzka commented May 16, 2017

@brunjo: thanks a lot :-)

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

2 participants