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
EventManager.bindEvents()now adds an event listener for 'resize' towindowobject.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
Schemeobject which is passed to a constructor method ofEventManager.In case such element is not provided with
Schemeit must bewindow