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

documentation for _update and _applyDataApi #184

Open
rtpHarry opened this issue Nov 7, 2022 · 0 comments
Open

documentation for _update and _applyDataApi #184

rtpHarry opened this issue Nov 7, 2022 · 0 comments

Comments

@rtpHarry
Copy link

rtpHarry commented Nov 7, 2022

Would be useful to add a little note in the docs about _applyDataApi().

https://github.com/liabru/jquery-match-height/blob/master/jquery.matchHeight.js#L305

In my experience, I had an infinite scrolling grid, and calling _update didn't fix the newly loaded elements.

I had set them up using the data-mh api in the CMS.

Calling $.fn.matchHeight._applyDataApi(); did do the trick, though.

And perhaps adding a note to the _update to say this is also an option.

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

1 participant