Open vedbobo opened 11 months ago
@vedbobo Hi, I found something that might help. With draggable false, you can define a ref for your component and call setEnable with the true parameter, it is possible to have draggable false but resizable true.
<Vue3DraggableResizable ref="someRef" :draggable="false">
someRef.value?.setEnable(true);
只有用了draggable,在外部点击后再点击组件可以激活active。如果不用draggable只用resizable,不能再次激活active状态,不能再进行缩放操作了!