admin管理员组文章数量:1384709
We have a Splitter with three SplitterPanels. We would like the gutter between the first two panels to be fixed and the gutter between the other two panels to be moveable.
So basically we have this code:
<Splitter class="main-splitter" :key="layoutState.splitterKey.value" :style="splitterTop" :gutterSize="0">
<SplitterPanel>
...
</SplitterPanel>
<SplitterPanel>
...
</SplitterPanel>
<SplitterPanel>
...
</SplitterPanel>
</Splitter>
As I set gutterSize to zero in the Splitter tag, the gutter is neither moveable between the first nor between the other two panels. What I tried to get the result I want is that I set gutterSize to different values in the SplitterPanel tags instead of the Splitter tag, but that did not work out.
Is there a way to achieve what we want using Vue?
本文标签: javascriptVue SplitterResize gutter for each SplitterPanelStack Overflow
版权声明:本文标题:javascript - Vue Splitter - Resize gutter for each SplitterPanel - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744453603a2606877.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论