This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Component({ | |
| selector: 'app-home', | |
| template: ` | |
| <h2>All Lessons</h2> | |
| <h4>Total Lessons: {{lessons?.length}}</h4> | |
| <div class="lessons-list-container v-h-center-block-parent"> | |
| <table class="table lessons-list card card-strong"> | |
| <tbody> | |
| <tr *ngFor="let lesson of lessons" (click)="selectLesson(lesson)"> |