I am trying to show confirm box, which is working fine. But it showing default text, ok and cancel .
i want to show different text. Also Can we show three buttons as well.
$cordovaDialogs.confirm('message', 'title', ['button 1','button 2'])
.then(function(buttonIndex) {
// no button = 0, 'OK' = 1, 'Cancel' = 2
var btnIndex = buttonIndex;
});
Any idea?
Thanks