let msg: test;
let msg2 : test3;
For Ex: alert(msg + '\n'+ msg2);
First and second line
like wise shown the matsnackbar in angular ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Muthu KumarPosted Aug 22, 2019, 1:47 AM
Here is an answer for you.
set a custom panelClass option that applies white-space: pre-wrap or similar.
Refered here,
https://github.com/angular/components/issues/11239
Sivakumar KonetiPosted Jul 4, 2019, 1:15 AM