'Ngx Pagination-Jump to Specific Page

I would like to create ngx pagination in angular 8 specifically jump to exact page.

Ex Go To (Text box comes here) . I have 10 pages when user tries to enter 3 it should move to page 3.I'm pretty new to Angular.your help will be appreciated.



Solution 1:[1]

Please refer official question raised by someone here

Also, check docs from library paginationcontrolsdirective

Library provide the event called setCurrent(val) so, you can pass input value by button click

I hope you are clear with the provided solution

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kishan Vaishnani