mediarox/module-mixin-menu-mobile-sliding
Composer 安装命令:
composer require mediarox/module-mixin-menu-mobile-sliding
包简介
A javascript mixin to replace the "collapse" of submenus with a "slide" effect
README 文档
README
Magento Menu widget mixin - slide instead of collapse.
Facts
- It is designed as a javascript mixin for Magento Menu widget.
- It overrides the behavior of the mobile menu.
- It replaces the "collapse" of submenus with a "slide" effect.
- "Slide" effect based on
- https://github.com/somewebmedia/hc-offcanvas-nav (native lib)
- https://github.com/mediarox/module-js-hc-offcanvas-nav (magento 2 wrapper)
- Support's active category jump (data-nav-active)
- Keep in mind:
- The connection to the library "hc-offcanvas-nav" is only rudimentary. At the moment only 2 options (labelBack, width) are supported/used.
- The library also does not support "destroy". But this should not be a problem in most cases due to the "mediaCheck" in the core-menu widget.
- The library does not have a neutral/colorless theme. The included theme (blue) has to be customized again via a theme in most cases.
- Demo
Installation
composer require mediarox/module-mixin-menu-mobile-sliding bin/magento setup:upgrade
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2022-02-14