Hi,
We want to be able to dynamically generate the Actionview with dynamic content. However, we face a problem where we can’t force actionsheet buttons,thanks
$ionicActionSheet.show({
titleText: 'Possible Action',
buttons: [{
text: 'Acknowledge selected alarm(s)'
}, {
text: 'Acknowledge all current alarm(s)'
}, {
text: 'Mask selected alarm(s)'
}, {
text: 'Mask all current alarm(s)'
}],
cancelText: 'Cancel',
cancel: function () {
console.log('CANCELLED');
},
buttonClicked: function (index) {
console.log('BUTTON CLICKED', index);
return true;
}
});