在 UIkit 的 offcanvas 中组合两个选项
Combine two options in offcanvas in UIkit
我用offcanvas。我想使用 flip: true
和 mode: push
但两个选项的组合不起作用。我试过逗号分隔的选项:
<a href="#offcanvas-slide" class="uk-align-right uk-button uk-button-default" uk-toggle>Menu</a>
<div id="offcanvas-slide" uk-offcanvas="mode: push, flip: true">
如何将两个或多个选项传递给 offcanvas?
您必须使用 ";" 添加 2 个或更多 offcanvas 以在您的 uk-offcanvas 中应用。
Below is the sample for your clarification:
我用offcanvas。我想使用 flip: true
和 mode: push
但两个选项的组合不起作用。我试过逗号分隔的选项:
<a href="#offcanvas-slide" class="uk-align-right uk-button uk-button-default" uk-toggle>Menu</a>
<div id="offcanvas-slide" uk-offcanvas="mode: push, flip: true">
如何将两个或多个选项传递给 offcanvas?
您必须使用 ";" 添加 2 个或更多 offcanvas 以在您的 uk-offcanvas 中应用。
Below is the sample for your clarification: