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

How to pass data to component? #2

Closed
gapipro opened this issue Mar 30, 2015 · 2 comments
Closed

How to pass data to component? #2

gapipro opened this issue Mar 30, 2015 · 2 comments

Comments

@gapipro
Copy link

gapipro commented Mar 30, 2015

So if I put checkbox on my page and I wish to update data based on checkbox state, how do I do that?

parent data:

{
  'marked':false
}

When user enables checkbox marked should change to true and vice versa.

@agonbina
Copy link

agonbina commented Apr 3, 2015

I think this might be an issue with the Vue.js version you are using. When I started this project the way a child component was resolved(ie transcluded) was different compared to starting since Vue 0.11 (I belive)

@gapipro
Copy link
Author

gapipro commented Apr 3, 2015

Yea, I experimented a bit with latest Vue version 0.11.5 and I managed to link data to component with some modifications.

@gapipro gapipro closed this as completed Apr 17, 2015
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