pub fn default_keymap() -> Keymap<Action>Available on crate feature
virtual-list only.Expand description
The default list shortcuts:
| Keys | Action |
|---|---|
ArrowDown | Action::Next |
ArrowUp | Action::Previous |
Home | Action::First |
End | Action::Last |
PageDown | Action::NextPage |
PageUp | Action::PreviousPage |
Shift+ArrowDown | Action::ExtendNext |
Shift+ArrowUp | Action::ExtendPrevious |
Enter | Action::Activate |
Space | Action::Select |
Mod+A (Ctrl, or Cmd on macOS) | Action::SelectAll |
The list resolves these itself, only while it has focus, so they never
clash with other components. Pass a changed keymap with
VirtualList::keymap.