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

confirm has no title,can u add one ? #36

Open
kilometer2162 opened this issue Jan 19, 2016 · 1 comment
Open

confirm has no title,can u add one ? #36

kilometer2162 opened this issue Jan 19, 2016 · 1 comment

Comments

@kilometer2162
Copy link

can you add a title to confirm ?it's too simple when no title for a confirm !

@kilometer2162 kilometer2162 changed the title confirm has not a title confirm has no a title Jan 19, 2016
@kilometer2162 kilometer2162 changed the title confirm has no a title confirm has no title,can u add one ? Jan 19, 2016
@deepal
Copy link

deepal commented Jan 28, 2016

You can absolutely do that with $ngBootbox.customDialog(options)

For example,

var navigationOptions = {
                        message: 'Are you sure?',
                        title: 'Discard fees',
                        buttons: {
                            warning: {
                                label: "No",
                                className: "btn-default",
                                callback: function() {...}
                            },
                            success: {
                                label: "Yes",
                                className: "btn-danger",
                                callback: function() {...}
                            }
                        }
                    };

$ngBootbox.customDialog(navigationOptions);

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

No branches or pull requests

2 participants