gilg/keyboardshortcuts
Composer 安装命令:
composer require gilg/keyboardshortcuts
包简介
Magento 2 Storefront Keyboard Shortcuts
README 文档
README
Magento 2 Storefront Keyboard Hotkeys
This module enables hotkeys for a store's main functionality.
Install
composer require gilg/keyboardshortcuts
Purpose
The purpose of these hotkeys is to increase accessibility to those with limited mobility and to speed up developer workflow by allowing for quick keyboard navigation.
Hotkeys
The namespace (the first key of a keyboard shortcut) is configurable with the default option being m. If left blank in admin configuration, no namespace will be used. It's recommended to use a namespace to avoid conflicting with native browser & assistive technology hotkeys.
| Hotkey | Purpose |
|---|---|
| ? | Show keyboard hotkey information modal |
| m+e | Go to Account Dashboard |
| m+c | Go to Checkout |
| m+i | Open minicart |
| m+s | Focus in Search box |
Every hotkey is configurable and be disabled.
Support
This module is provided as is. However, feel free to file a github issue or create a PR and I will try to respond when I can.
Preview
Frontend Modal
Admin Options
统计信息
- 总下载量: 18
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-16

