mauricius / vue-draggable-resizable

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

Standard way to programmatically update width & height after Initialization #343

Open dkjain opened 2 years ago

dkjain commented 2 years ago

Is there standard way to programmatically (live) update width & height after the component gets created. For eg. updating width, height via html <input /> control rather than manually dragging handles to resize.

I know there are w & y props but as per docs, they are setting the initial values i.e. during component creation/Initialization time, right?

thanks

TitanFighter commented 2 years ago

See inputs at the bottom of the page: https://mauricius.github.io/vue-draggable-resizable/?path=/story/basic--basic-controlled-component

arpit-uno commented 2 years ago

@TitanFighter This can be considered Closed. Thanks