Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
1. UI for pagination component
<div class="d-flex justify-content-between align-items-center">
<nav class="pages">
<ul class="pagination">
<li class="page-item">
<a href="javascript:;" class="page-link" (click)="prev()">Previous</a>
</li>
<li class="page-item">
<a class="page-link" href="javascript:;" (click)="getData(1)">1</a>
</li>
<li class="page-item">
<a class="page-link" href="javascript:;" (click)="getData(2)">2</a>
</li>
<li class="page-item">
<a class="page-link" href="javascript:;" (click)="getData(3)">3</a>
</li>
<li class="page-item">
<a class="page-link" href="javascript:;" (click)="next()">Next</a>
</li>
</ul>
</nav>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment