feat: Pagination support for jumping 20 items at a time in all table views [#45]
This commit is contained in:
@@ -49,6 +49,11 @@ pub trait Scrollable {
|
||||
fn scroll_to_bottom(&mut self);
|
||||
}
|
||||
|
||||
pub trait Paginated {
|
||||
fn page_down(&mut self);
|
||||
fn page_up(&mut self);
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
pub struct ScrollableText {
|
||||
pub items: Vec<String>,
|
||||
|
||||
Reference in New Issue
Block a user