Angular version: 17.0.4
ngx-pagination version: 6.0.3
Description of issue:
I'm using this example of the pagination, which is in the library docs. Maybe i'm not understanding the tools of the library, but is it possible to only display the controls (the pagination bar) without showing this list below?
`
<li *ngFor="let meal of meals | paginate: config">
{{ meal }}
`
My idea is to only have the pagination bar, since i have the list of items in a parent component, i'll trigger a function in the next, previous and setCurrent() events in order to change the pages.
Is there a way to trigger the implementation of the paginate pipe without having to do that for loop? i could probably wrap the for loop in an empty html tag but that would add unnecessary nodes to the DOM.
Expected result:
To be able to use the bar only and have the display of items in another component