Access data in init function #537
bluebrown
started this conversation in
4. General
Replies: 1 comment 2 replies
-
What's data? Is it a variable in your data context? x-data is an object literal (or in your case a function returning an object) with a list of key values. This is your component scope. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
How can we access the data. The inline examples dont show it properly. Is there something that we can pass into the function?
I think it would be good to show other example than just in HTML file for the script.
Beta Was this translation helpful? Give feedback.
All reactions