Pager

ID: mantra_starter:pager

Views pager.

Status: experimental

Name Label Type Description
heading_id Heading id String
first First Unknown ⚠️ {"type":"array"}
last Last Unknown ⚠️ {"type":"array"}
items Items Unknown ⚠️ {"type":"object"}

First page

Four pages, sitting on the first. Previous and first are dropped, and so is the leading ellipsis -- the template hides first while the numbers already start at 1, so this is the case where the row must not open with a gap.

Default

Page 3 of 8, which is the only state that puts every item on the page at once: first and previous on the left, last and next on the right, an ellipsis either side of the numbers, and the current page marked. `current` and `ellipses` are set by template_preprocess_pager() rather than declared on the component, and they are what decides which of those items appear.