sorry I can do that…
buttonLabels: [‘No’, ‘Yes’]
I have a question.
I wanna change confirm message “cancel” and “OK” , is this can that?
this is incorrect.
confirm() {
onsNotification.confirm({
message: 'This dialog can be canceled by tapping the background or using the back button on your device.',
cancelable: true,
callback: i => {
if (i == -1) { // here this is not cancelled. 1 is correct.
onsNotification.alert({message: 'You canceled it!'});
}
}
});
}
I want to use postchange. But I can’t understand how to use event.