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

Feat: add an ability to listen to resize of different containers #12

Open
dmytro-shchurov opened this issue Oct 9, 2018 · 0 comments
Open

Comments

@dmytro-shchurov
Copy link

dmytro-shchurov commented Oct 9, 2018

EventManager.bindEvents() now adds an event listener for 'resize' to window object.
This could cause a wrong scale issue when, for instance, some elements hide (but the window remains untouched). I think it could be possible to pass a desired container element to attach the event listener to with Scheme object which is passed to a constructor method of EventManager.
In case such element is not provided with Scheme it must be window

@dmytro-shchurov dmytro-shchurov changed the title Feat: add an ability listen to resize of different containers Feat: add an ability to listen to resize of different containers Oct 9, 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

No branches or pull requests

1 participant