But this obviously doesn't work. The reason I would like this, is that since my vue-grid-layout is being populated from a backend API, I would like to have the opportunity to pass a id field form my API to the grid-item events (in this case the @moved event).
I would like to know if it is already possible to pass extra parameters in (for example) the
@moved
event?Following the documentation, I've used the
@moved
event as follow:What I would like is to pass an extra parameter like so:
@moved="movedEvent(myExtraParam)"
And then something like:
But this obviously doesn't work. The reason I would like this, is that since my
vue-grid-layout
is being populated from a backendAPI
, I would like to have the opportunity to pass aid
field form myAPI
to thegrid-item
events (in this case the@moved
event).