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

Added resize handling for multiple calls with responsive options (optimized with debouncing) #25

Merged
merged 3 commits into from
Oct 24, 2017

Conversation

nzambello
Copy link
Owner

@nzambello nzambello commented Oct 19, 2017

I'm resolving issue #22.

Calling ellipsis - for example - two times with two different selectors, it will handle text even on resize correctly on both node elements.

I also optimized for performance the resize event handling to avoid tons of calls when resizing (while working it freezed): following suggestions well explained here I implemented a debouncing system similar to the underscore.js one.

@nzambello nzambello self-assigned this Oct 19, 2017
@nzambello nzambello force-pushed the nicola_multipleCallsResponsive branch from 87caa70 to d6025ec Compare October 19, 2017 11:16
@nzambello nzambello merged commit 4273fb8 into master Oct 24, 2017
@nzambello nzambello deleted the nicola_multipleCallsResponsive branch October 24, 2017 19:25
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.

1 participant