Category
Documentation
Description
The Actions & Event Handling concept guide (events.md) describes event modifiers and details .enter and .escape for key filtering. However, the framework's event binder (lib/core/events/bindEvents.js) also supports several other key modifiers: .esc, .space, .tab, and .delete. These are currently undocumented.
Proposed Solution
Update docs/src/content/docs/core-concepts/events.md:
- Add the undocumented key modifiers to the event modifiers table and descriptions:
.esc: Alias for .escape.
.space: Filters for Space (' ').
.tab: Filters for the Tab key.
.delete: Filters for the Delete key.
- Provide examples showing usage of these new filters (e.g.,
@keydown.space="togglePlay", @keydown.tab.prevent="focusNext").
Acceptance Criteria
Category
Documentation
Description
The Actions & Event Handling concept guide (events.md) describes event modifiers and details
.enterand.escapefor key filtering. However, the framework's event binder (lib/core/events/bindEvents.js) also supports several other key modifiers:.esc,.space,.tab, and.delete. These are currently undocumented.Proposed Solution
Update
docs/src/content/docs/core-concepts/events.md:.esc: Alias for.escape..space: Filters for Space (' ')..tab: Filters for the Tab key..delete: Filters for the Delete key.@keydown.space="togglePlay",@keydown.tab.prevent="focusNext").Acceptance Criteria
events.mdincludes.esc,.space,.tab, and.delete.