I'm using ngx-pagination package and trying to implement this:
But this is what I have until now:
My HTML:
<pagination-controls responsive="true" directionLinks="false"></pagination-controls>
My CSS:
.ngx-pagination {
.current {
background: orange;
}
}
...
). Stackblitz: https://stackblitz.com/edit/angular-xbh9ft
Finally, I opened an issue in the package's Github repo and could achive what I wanted. I had to implement a custom template. For me was useful this example .
I leave here the link to a demo in Stackblitz just in case someone finds it useful:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.