Skip to content

Pass current size to callback function #212

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

Closed
wants to merge 2 commits into from
Closed

Pass current size to callback function #212

wants to merge 2 commits into from

Conversation

movedoa
Copy link
Contributor

@movedoa movedoa commented Feb 6, 2018

This fixes #209 and is based on PR #208 (Because with this, the correct size is available which is not true in the current master)

This passes an object with width and height properties to the callback function.

Btw. this is my first time working with github and git, so sorry in advance ;-)

@marcj
Copy link
Owner

marcj commented Mar 1, 2018

merged in #213

@marcj marcj closed this Mar 1, 2018
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

Successfully merging this pull request may close these issues.

ResizeSensor - Make current dimensions readable
2 participants