Versions in this module Expand all Collapse all v0 v0.20.2 Aug 31, 2024 v0.20.1 Aug 31, 2024 v0.20.0 Aug 31, 2024 Changes in this version + var DefaultKeyMap = KeyMap + var NewModel = New + type KeyMap struct + NextPage key.Binding + PrevPage key.Binding + type Model struct + ActiveDot string + ArabicFormat string + InactiveDot string + KeyMap KeyMap + Page int + PerPage int + TotalPages int + Type Type + UseHLKeys bool + UseJKKeys bool + UseLeftRightKeys bool + UsePgUpPgDownKeys bool + UseUpDownKeys bool + func New(opts ...Option) Model + func (m *Model) GetSliceBounds(length int) (start int, end int) + func (m *Model) NextPage() + func (m *Model) PrevPage() + func (m *Model) SetTotalPages(items int) int + func (m Model) ItemsOnPage(totalItems int) int + func (m Model) OnFirstPage() bool + func (m Model) OnLastPage() bool + func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) + func (m Model) View() string + type Option func(*Model) + func WithPerPage(perPage int) Option + func WithTotalPages(totalPages int) Option + type Type int + const Arabic + const Dots