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

Pass the DOM element in onChange #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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