Angular: How to drop a line by the number of characters in the message?

Discussão em 'Angular' iniciado por Tommy Udi, Outubro 27, 2024.

  1. Tommy Udi

    Tommy Udi Guest

    This is an illustration image: [​IMG]

    I want after a certain amount of characters to go down a line in the text.

    I tried to do it in html:

    <div *ngIf="msgText.length > 30">
    <br>
    </div>


    But it's not good

    Continue reading...

Compartilhe esta Página