Offcanvas文件夹在Shopware 6商店前端中是用来做什么的?

huangapple go评论71阅读模式
英文:

What is the Offcanvas folder for in Shopware 6 storefront

问题

在Shopware商店前端中,位于视图文件夹home/vendor/Shopware/storefront/Resources/storefront/views/layout/navigation/Offcanvas中,

我看到了一个名为'offcanvas'的文件夹,但无法解释它的用途。您能解释一下这个文件夹吗?我正在构建一个Shopware 6主题。

英文:

In Shopware storefront within the view folder home/vendor/Shopware/storefront/Resources/storefront/views/layout/navigation/Offcanvas

I see an 'offcanvas' folder within the navigation folder but can not decipher what it is used for. Can you explain this folder to me? I am building a Shopware 6 theme.

答案1

得分: 0

侧滑菜单是一个侧边栏,可以从屏幕的侧面滑动/淡入淡出切换。在移动视口中用于导航。对于本地开发,浏览器有方法来模拟页面在移动设备上的外观:ChromeFirefox

英文:

An off-canvas menu is a sidebar that can be toggled to slide/fade in from the sides of the screen. For the navigation it is used in mobile viewports. For local development, browsers have ways to simulate how a page would look like on a mobile device: Chrome, Firefox

huangapple
  • 本文由 发表于 2023年7月3日 20:17:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/76604670.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定