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

Binding names #6

Open
rlangeoi opened this issue Jun 20, 2018 · 0 comments
Open

Binding names #6

rlangeoi opened this issue Jun 20, 2018 · 0 comments

Comments

@rlangeoi
Copy link

I think you should try to explain more in detail how the binding works, and where each variable nam comes from.
Binding data to data doesn't tell you which one is the name you should use in the html and which one is the content that is found in the js
I tried binding as bound: data and using "bound" in the html instead of "data", it worked fine untill the point where I began the two-way binding. But the shopping bag didn't work until i reverted everything in the the html back to "data" and changed the binding in the js, and I wasn't entirely able to understand why. Did I need to use "bound" in the js file somewhere in the controller{ } ?

Thanks for this great tutorial, is was much more clear than just reading the rivets.js documentation

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