Is it possible to insert a new line in a Dundas alert?

Is it possible to insert a new line in a Dundas alert using ViewService.showAlert method?

Using ‘\n’ doesn’t do anything, and I’ve not had much luck playing around with the css whitespace settings for the toast-message div.

If not, I suppose I could always create a label plus buttons to look like a Dundas alert. (I don’t want to use the browsers JS alert).

Thanks

Modifying the Dundas alert isn’t possible at the moment. As you mentioned, I would recommend using your own design (using labels, rectangles, layers etc.) to style your own custom alert.