Hi All,
I want to have a line break in the toast message.
It results in following
Is there any syntax to add a line break between the lines?
Cheers!
Damith
Try <br> ??
<html> <body> <script> <!-- document.write("Hello World!"); document.write("<br>"); document.write("Demo<br><br>Text!"); //--> </script> </body></html>
Hello World!
Demo
Text!
Thanks for the comment @ShawnBerk,. Unfortunately <br> didn’t work. I then tried the common newline (\n) but it didn’t work as well.
As a solution I used two toast messages
and the result looks promising and I could carry with my developments :)
But I’d still like to know what’s the syntax for adding a line break in a toast message since it could be useful.
I have registered a request with Idea to enable line breaks in toast messages.
https://community.ifs.com/ideas/toast-message-does-not-break-line-ifs-cloud-47396
Ask the community for help!
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.