class Term::Prompt::BlockPaginator
- Term::Prompt::BlockPaginator
- Term::Prompt::Paginator
- Reference
- Object
Defined in:
prompt/block_paginator.crInstance Method Summary
-
#paginate(list, active, page_size = nil, &block : Choice, Int32 -> )
Paginate list of choices based on current active choice.
Instance methods inherited from class Term::Prompt::Paginator
check_page_size!
check_page_size!,
current_index : Int32
current_index,
end_index : Int32 | Nil
end_index,
last_index : Int32
last_index,
paginate(list, active, page_size = nil, &block : Choice, Int32 -> )paginate(list, active, page_size = nil) paginate, reset! reset!, start_index : Int32 | Nil start_index, start_index=(start_index : Int32 | Nil) start_index=
Constructor methods inherited from class Term::Prompt::Paginator
new(**options)
new
Instance Method Detail
Paginate list of choices based on current active choice. Move entire pages.