Popups Just Landed in Ionic


#1

Hello Ionites!

I hope you’re week has been going great! Today, we are pleased to announce the first iteration of Popup (or “dialog”) support in the framework. We’ve heard you loud and clear, I knew this was an important component to add sooner rather than later.

Check out the blog post and play with the live demo!

As always, let us know what you think, and feel free to contribute to the cause. We have a lot more awesome stuff lined up for this month…

-Ben and the team


#3

you guys are getting better and better.


#4

Well thank you very much @rdtran!


#5

Awesome work on that one. Here comes the first hacker question though; would I be able to open for example an alert with a vertical list of buttons and without any body message?

Like this (for example, when a user opens the app for the first time):

Pick default value
------------------

Option 1
Option 2
Option 3
Option 4

Edit: I’m almost there:

http://codepen.io/biinjo/pen/uvHnD

But now I don’t want a cancel button. And I want to trigger the ‘confirm’ event (e.g. ‘resolve’ the alert promise) from inside my 'setDefault()` button callback. How would that be possible? @Calendee or @mhartington any ideas?


#6

Nevermind; it was a nice experiment. But I see that the $ionicModal has changed quite a lot and will suit my needs now :smile:


#7

thank you very much guys for the great work! i very much appreciate it


#8

Thanks for saying so @hillbm!


#9