send data in resize event

This issue has been tracked since 2021-03-10.

hi. i need send custom data in resize event and check data in function for save newRect for that.
how can i do this?

msadeghyan1996 wrote this answer on 2021-03-10

i fixed it with @activated event and set $resizeType to 'widget1' but i think this way not be correct

pinkcao wrote this answer on 2021-04-16

it's about vue
maybe you want the way as follows
@resize="functionA($event, index)"
here, the $event means the params in this.$emit('functionA', newRect)

write as so in methods:
methods: { functionA(newRect, index) { console.log(newRect) console.log(index) } }

More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date