HomeMnkras Phabricator

Pager (PhabricatorPagerUIExample)

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

Example

Item
Item #121
Item #122
Item #123
Item #124
Item #125
Item #126
Item #127
Item #128
Item #129
Item #130
Item #131
Item #132
Item #133
Item #134
Item #135
Item #136
Item #137
Item #138
Item #139
Item #140

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.