pub fn default_keymap() -> Keymap<Action>Available on crate feature
calendar only.Expand description
The default calendar shortcuts:
| Keys | Action |
|---|---|
PageUp | Action::Previous |
PageDown | Action::Next |
T | Action::Today |
ArrowLeft | Action::PreviousDay |
ArrowRight | Action::NextDay |
ArrowUp | Action::PreviousWeek |
ArrowDown | Action::NextWeek |
Alt+ArrowUp | Action::PreviousEntry |
Alt+ArrowDown | Action::NextEntry |
M | Action::Month |
W | Action::Week |
D | Action::Day |
A | Action::Agenda |
Y | Action::Year |
X | Action::FourDays |
Enter | Action::Activate |
Delete, Backspace | Action::Remove |
Escape | Action::Close |
The arrow and page keys are shared with tabs, sliders and pagination, so on a screen with several of those resolve the calendar’s keymap only while the calendar is what the user is working in.