Skip to content

data-signals - JSON versus JSON Object Notation #390

Closed Answered by bencroker
chrismalek asked this question in Q&A
Discussion options

You must be logged in to vote

I think the Javascript object notation is required.

You can use JSON syntax, which most if not all templating languages have support for.

My mistake was that I had this:
<div data-text="isValid"></div>

If you update to 0.21.x, you’ll get helpful error messages that try to point you towards a solution.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@delaneyj
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bencroker
Comment options

You must be logged in to vote
1 reply
@bencroker
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants