ionicPopup确认对话框

$ionicPopup.confirm({
                            title: $rootScope.app_name,
                            template: 'Do you want to add this to database?',
                            buttons: [
                                {
                                    text: '<b>Yes</b>',
                                    type: 'button-positive',
                                    onTap: function (e) {
                                        
                                    }
                                },
                                {
                                    type: 'button-canceldark',
                                    text: '<b>No</b>',
                                    onTap: function (e) {

                                    }
                                }
                            ]
                        });

 

posted @ 2016-03-10 13:52  fanhq  阅读(560)  评论(0编辑  收藏  举报