HomePhorge

Pager (PhabricatorPagerUIExample)

Use PHUIPagerView to create a control which allows users to paginate through large amounts of content.

Example

Item
Item #21
Item #22
Item #23
Item #24
Item #25
Item #26
Item #27
Item #28
Item #29
Item #30
Item #31
Item #32
Item #33
Item #34
Item #35
Item #36
Item #37
Item #38
Item #39
Item #40

Use PHUIPagerView to render a pager element.

You can show more or fewer pages of surrounding context.

When it is prohibitively expensive or complex to attain a complete count of the items, you can select one extra item and set hasMorePages(true) if it exists, creating an inexact pager.