I’ve created a popup function like so
function popup(title,message,buttontext = "Ok"){
mobiscroll.alert({
title: title,
message: message,
okText: buttontext
});
}
Now how would I create a similar popup but with specific styling to indicate there’s an error.
I see that there are predefined themes that I can apply for iOS, windows, dark, light, etc. but there’s no “error” theme. I know you have a theme builder which is awesome but that’s overkill for what I need here.
I don’t want to build an entire theme for the whole system, I just want a popup that has a red banner or some other way to indicate it’s an error message. What’s the easiest way to accomplish that?