mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.34k stars 560 forks source link

希望可以暴露出两个函数设置跨度,设置高度 #284

Open daweiyong opened 3 years ago

daweiyong commented 3 years ago

比如setW,和setH方法,可以直接传入值,修改元素的宽度高度,不仅仅只是 通过拖拽修改尺寸

TitanFighter commented 3 years ago

I do not understand what you mean. Probably you need this - https://mauricius.github.io/vue-draggable-resizable/?path=/story/basic--basic-controlled-component

zyycn commented 3 years ago

@TitanFighter i want to dragging set w、h、x、y to adsorbent,but w、h、x、y called only during initialization