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

Feature request: Delayed call of the callback function. #308

Open
VARGA-Peter opened this issue Oct 6, 2020 · 0 comments
Open

Feature request: Delayed call of the callback function. #308

VARGA-Peter opened this issue Oct 6, 2020 · 0 comments

Comments

@VARGA-Peter
Copy link

I love the plugin. Finally, I can easy get the size of an element I need to know.

I would like to propose here a feature:
Currently, the function is called each time the element is resized. What about a 2nd functionality, that the function isn't called each time but once the resize has been finished. Of course, when has been such a resize finished?

I would suggest to use a delay which can be provided to the sensor [for example 0.5 seconds] and when after this delay the element hasn't been resized the callback function will be called.

Cheers!°

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