始终隐藏纸抽屉面板而不使用 responsive-width="9999px"
Always hide paper-drawer-panel without using responsive-width="9999px"
如何将我的 paper-drawer-panel
设置为始终隐藏,换句话说,设置 responsive-width="99999px"
的效果如何?我可以使用这种方法,但它看起来相当丑陋,因为我总是希望它被隐藏(除非按下按钮打开它)。我是否缺少某些 属性?有点像 always-hide="true"
?或者我必须使用响应宽度 属性?
谢谢!
我相信您正在寻找 forceNarrow
(force-narrow
在 html 中写为 属性)。
If true, ignore responsiveWidth setting and force the narrow layout.
如何将我的 paper-drawer-panel
设置为始终隐藏,换句话说,设置 responsive-width="99999px"
的效果如何?我可以使用这种方法,但它看起来相当丑陋,因为我总是希望它被隐藏(除非按下按钮打开它)。我是否缺少某些 属性?有点像 always-hide="true"
?或者我必须使用响应宽度 属性?
谢谢!
我相信您正在寻找 forceNarrow
(force-narrow
在 html 中写为 属性)。
If true, ignore responsiveWidth setting and force the narrow layout.