Created
December 21, 2018 11:05
-
-
Save azaharafernandezguizan/4e25f9ded82cef1d47be34ae0bad3dd8 to your computer and use it in GitHub Desktop.
Table with bootstrap pagination
This file contains 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
<div> | |
<ul> | |
<li> | |
nombre | |
<i [class]="getIcon('name')" aria-hidden="true"></i> | |
</li> | |
<li> | |
apellidos | |
<i [class]="getIcon('lastname')" aria-hidden="true"></i> | |
</li> | |
<li> | |
teléfono | |
<i [class]="getIcon('email')" aria-hidden="true"></i> | |
</li> | |
<li> | |
<i [class]="getIcon('course')" aria-hidden="true"></i> | |
</li> | |
</ul> | |
<ul *ngFor="let student of studentsList"> | |
<li>{{student.name}}</li> | |
<li>{{student.lastname}}</li> | |
<li>{{student.email}}</li> | |
<li>{{student.course}}</li> | |
</ul> | |
<div> | |
<ngb-pagination *ngIf="showPagination" [collectionSize]="totalItems" [(page)]="page" | |
(pageChange)="loadPage($event)"></ngb-pagination> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment