pagination (function)

pagination(listItems='', size='default', align='left')[source]

Generate pagination - TBS style. Simple pagination inspired by Rdio, great for apps and search results.

Key Arguments

  • listItems – the numbered items to be listed within the <ul> of the pagination block

  • size – additional pagination block sizes [ “mini” | “small” | “default” | “large” ]

  • align – change the alignment of pagination links [ “left” | “center” | “right” ]

Return

  • pagination – the pagination