Skip to content

v-data #59

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

Closed
yyx990803 opened this issue Jan 28, 2014 · 1 comment
Closed

v-data #59

yyx990803 opened this issue Jan 28, 2014 · 1 comment
Milestone

Comments

@yyx990803
Copy link
Member

<div v-data="test:1, msg:'hello!'"></div>

Should copy the comma separated list of data to the VM.

@yyx990803
Copy link
Member Author

Should just use data attributes. Access with this.$el.dataset['...'].

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