vue-dragging icon indicating copy to clipboard operation
vue-dragging copied to clipboard

Is there a way to disable dragging?

Open dwieringa opened this issue 7 years ago • 2 comments

Is there a way I can allow dragging only under certain conditions?

dwieringa avatar Sep 25 '17 14:09 dwieringa

hello! You can switch through V-IF ! true is Show sort false if hide sort I just think of this method sorry~

VickKing avatar Apr 21 '18 07:04 VickKing

我是通过 v-if 方法显示禁用排序 写两个dom 元素 其中一个绑定dragging事件 ,然后通过 v-if分别隐藏跟显示,实现了伪禁用,实现效果和禁用差不多

VickKing avatar Apr 21 '18 07:04 VickKing