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

Event emitter to detect state of modals being opened or closed #483

Merged
merged 2 commits into from
Jan 30, 2017

Conversation

mgiuliani
Copy link
Contributor

I added an event emitter to the MdlDialogService that provides an indicator for whether 1+ modals are active at any given time.

This allows the host application to react accordingly. In my specific case, we need to apply some additional styling to the html body in order to prevent scrolling of the host page in the background.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 99.551% when pulling 8c61409 on mgiuliani:master into 285e86a on mseemann:master.

@mseemann mseemann merged commit b578340 into mseemann:master Jan 30, 2017
@mseemann
Copy link
Owner

thx! will be available in a few minutes as version 2.13.0

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.

3 participants