What is the logic of custom padginator on Angular2?
I transmit to the server:
- Page number;
- Number of pages to display
I get from the server:
- Total number of pages for output;
- An array of pages to display;
It is not clear the purpose of three-pointed (as in the picture) and how to show it (
...
and why they are needed - overthesanityprevious 1 ... 3 4 5 ... 100 next
- 9 blocks that can be hard-coded without the need to use ngfor - overthesanity