Bonjour,
J'ai un problème avec mon template Angular. En fait j'essaie de réaliser ce template depuis mais j'arrive pas !
J'ai installer Angular material dans mon projet et Bootstrap maintenant je mets ce code pour effectuer une animation lors du click du bouton Department mais cela me sors une erreur !
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | <div class="container"> <h1 class="d-flex justify-content-center"> Angular 8 with API Demo </h1> <h3 class="d-flex justify-content-center"> Employee Management Portal </h3> <nav class="navbar navbar-expand-sm bg-light navbark-dark"> <ul class="navbar-nav"> <li class="nav-item"> <button class="m-1 btn btn-light btn-outline-primary" Button label="DepScreen"> Departments </button> </li> <li class="nav-item"> <button class="m-1 btn btn-light btn-outline-primary" Button label="EmpScreen" (click) = "DepScreen=true; EmpScreen=false;"> Employees </button> </li> </ul> </nav> <app-department *ngIf="DepScreen"> </app-department></div> |
Aidez moi svp Je ne sais pas ou j'ai fauté
Merci d'avance