Skip to content

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

Description

@dmytro-shchurov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions