Onsen UI ons.notification.alert question
1 answer
They are all displayed at the same time, but the latter is displayed on top of the others.
If you want to display them sequentially, you need to use the parameter callback
.
ons.notification.alert({
message: 'First message',
callback: function() {
ons.notification.alert({
message: 'Second message'
});
}
});
+3
source to share