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

See if there's a way to not use global state to open the context menu #203

Open
JackWilb opened this issue Feb 24, 2021 · 0 comments
Open

Comments

@JackWilb
Copy link
Member

It doesn't seem like this component should depend on values stored in global state. It seems a lot like this component ought to manage its own position values, and use a v-model pointing to a boolean stored in the component where the menu will appear. I found a nice article explaining how v-model works, and how it can be used in custom components: https://dev.to/vue-storefront/vue-during-coffee-break-using-v-model-with-custom-components-3bo9.

Originally posted by @waxlamp in #196 (comment)

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

1 participant