HomeMnkras Phabricator

Pager (PhabricatorPagerUIExample)

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

Example

Item
Item #161
Item #162
Item #163
Item #164
Item #165
Item #166
Item #167
Item #168
Item #169
Item #170
Item #171
Item #172
Item #173

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.