1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

how to best conditional template show in angular 4

Discussão em 'Angular' iniciado por Md. Abu Sayed, Setembro 25, 2024.

  1. currently, i am practiced angular 4. when a normal user view this then show public content When A Registered user enter the web page then show edit or some content. how to the best practices show conditionally template Or Some Html Contents Example:

    <div *ngIf="isUser">
    some Content here......
    </div>
    <div *ngIf="!isUser">
    some Content here .....
    </div>


    actually, i want to know how to the best.

    Continue reading...

Compartilhe esta Página