class

Bubbles::Paginator::Model

Inherits Reference < Object

Constructors

new(*opts : Option) : Model
Source

Instance methods

active_dot
Source
active_dot=(active_dot : String)
Source
arabic_format
Source
arabic_format=(arabic_format : String)
Source
dup

dup creates a copy of the model for functional updates

Source
get_slice_bounds(length : Int32) : Tuple(Int32, Int32)
Source
inactive_dot
Source
inactive_dot=(inactive_dot : String)
Source
items_on_page(total_items : Int32) : Int32
Source
key_map
Source
key_map=(key_map : KeyMap)
Source
next_page
Source
on_first_page
Source
on_first_page?
Source
on_last_page
Source
on_last_page?
Source
page
Source
page=(page : Int32)
Source
per_page
Source
per_page=(per_page : Int32)
Source
prev_page
Source
set_total_pages(items : Int32) : Int32
Source
total_pages
Source
total_pages=(total_pages : Int32)
Source
type
Source
type=(type : Type)
Source
update(msg : Tea::Msg) : Tuple(Model, Tea::Cmd | Nil)
Source
view
Source