-
Notifications
You must be signed in to change notification settings - Fork 104
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
How can I create alarm dialog with no cancel button? #41
Comments
hmmm yeah maybe, or use the notifications maybe? |
In our app we need to show modal window that will block user until he read the message and press "Ok" |
Another example. User should be blocked until he will receive response via push notification. If user don't want to wait he ca press single button "Cancel" and resume his work. |
May be it would be better to modify confirmation to show ok and cancel only if they are declared. This is how android Alerts are designed for example. new ConfirmationDialog().ok("done") - this is alarm dialog with single ok button However in this design it should be named smth like "AlarmDialog" that is more generic name. Have you also thought about separate callbacks? .ok("done", function(){ }); |
I mean "AlertDialog" not alarm. We will try to make a pull request today. |
yeah we could have an Alert and |
yep sure. modal should be optional. |
We have added pull request #42 |
Should I make my own implementation like Confirmation dialog, or it is possible to reuse confirmation dialog for this purpose?
The text was updated successfully, but these errors were encountered: