Page links: previous, a window of numbers around the current one with the first and last page and an
ellipsis where it skips, and next. path is a function from a page number to the URL (or patch target).
Summary
Functions
The page numbers to draw, with :gap where pages are skipped: always the first, the last and one on each side of the current.
Functions
@spec entries(pos_integer(), pos_integer()) :: [pos_integer() | :gap]
The page numbers to draw, with :gap where pages are skipped: always the first, the last and one on each side of the current.
Attributes
page(:integer) (required)pages(:integer) (required)path(:any) (required) - a function: page number -> path.label(:string) (required) - the name of the navigation, for assistive technology.previous(:string) (required) - text for the previous link, for assistive technology.next(:string) (required) - text for the next link, for assistive technology.class(:any) - Defaults tonil.- Global attributes are accepted.
Slots
previous_icon- replaces the typographic ‹.next_icon- replaces the typographic ›.