Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply the target of context menu to list of element? #4

Open
Sualty opened this issue Aug 22, 2017 · 1 comment
Open

Apply the target of context menu to list of element? #4

Sualty opened this issue Aug 22, 2017 · 1 comment

Comments

@Sualty
Copy link

Sualty commented Aug 22, 2017

Hi, great plugin :)
I was wondering if it's possible to apply the target of the menu to a list of element?
I have this :
<div class="track" ref="track" v-for="track in project.structure.tracks"> [...stuff here ... ] </div>
And I want to apply a context menu to each of the elements of this list... is it possible?

@binggg
Copy link
Contributor

binggg commented Aug 22, 2017

@hi, thanks for your feedback.
For now you can make your list item to an component, so you can bind target in the component.
We will make it more easy in next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants