jquery-match-height icon indicating copy to clipboard operation
jquery-match-height copied to clipboard

documentation for _update and _applyDataApi

Open rtpHarry opened this issue 3 years ago • 0 comments

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.

rtpHarry avatar Nov 07 '22 14:11 rtpHarry