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

Add a broadcast for when the backdrop is shown or hidden #3527

Merged
merged 1 commit into from
Dec 6, 2015

Conversation

edparsons
Copy link

This is to add a rootScope broadcast from the backdrop service. This is really useful in hybrid apps involving native views. E.g. native maps or camera.

Generally any time the backdrop is shown the developers wants this to be on top of everything and nothing below it to be clickable or receive input, this generally means sending a cordova message to native components telling them something is on top. This broadcast allows that to be easily implemented once for whenever the backdrop appears. Ionic already has something similar for modals.

mlynch added a commit that referenced this pull request Dec 6, 2015
Add a broadcast for when the backdrop is shown or hidden
@mlynch mlynch merged commit 9956de4 into ionic-team:master Dec 6, 2015
@mlynch
Copy link
Contributor

mlynch commented Dec 6, 2015

Thanks!

@mlynch mlynch added this to the 1.2 milestone Dec 6, 2015
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.

2 participants