You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on [email protected], when using pagination with this code : <md-pagination pages.bind="nbPages" active-page.bind="activePage" visible-page-links="14" md-on-page-changed.delegate="refresh($event)"></md-pagination>
I have nbPages == 1 and activePage == 1 at start.
Then, after loading my items, I change nbPages accordingly : this.nbPages = new_number_of_pages;
It triggers the md-on-page-changed and call refresh($event) when activePage didn't changed.
I think it's a mistake.
At least it shouldn't do this if activePage == 1 or maybe while activePage <= nbPages.
The text was updated successfully, but these errors were encountered:
Hi,
on [email protected], when using pagination with this code :
<md-pagination pages.bind="nbPages" active-page.bind="activePage" visible-page-links="14" md-on-page-changed.delegate="refresh($event)"></md-pagination>
I have
nbPages == 1
andactivePage == 1
at start.Then, after loading my items, I change
nbPages
accordingly :this.nbPages = new_number_of_pages;
It triggers the md-on-page-changed and call
refresh($event)
whenactivePage
didn't changed.I think it's a mistake.
At least it shouldn't do this if
activePage == 1
or maybe whileactivePage <= nbPages
.The text was updated successfully, but these errors were encountered: