Saturday, June 9, 2018

\n to break line in ionic 2 | ionic 3 in ionic 2 | ionic 3 | ionic 4 | angular2 | angular4

To break line by "\n" you can use these style in your style (SCSS) file :

.class_name {
  white-space: pre-line;
}

This css convert \n to break line. Try this. It works for me.

No comments:

Post a Comment