Skip to content

Conversation

McPo
Copy link

@McPo McPo commented Sep 5, 2017

Pass the DOM element in onChange. Allows the ability to set data attributes and access them in onChange. Useful for lists. Could pass this instead, and/or remove visibilityRect and instead just pass the element, as visibilityRect is easily accessed from the element.

Need to update documentation as well.

Any thoughts?

Pass the DOM element in onChange. Allows the ability to set data attributes and access them in onChange. Useful for lists. Could pass `this` instead, and/or remove visibilityRect and instead just pass the element, as visibilityRect is easily accessed from the element.
@imakou
Copy link

imakou commented Oct 16, 2017

Has the feature migrated into the current ver?

@zthornto
Copy link

zthornto commented Jan 8, 2019

+1 for this, would be very handy at times.

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

Successfully merging this pull request may close these issues.

4 participants