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

add documentation for "data-bind" attribute syntax #374

Closed
haberman opened this issue Mar 8, 2012 · 2 comments
Closed

add documentation for "data-bind" attribute syntax #374

haberman opened this issue Mar 8, 2012 · 2 comments
Milestone

Comments

@haberman
Copy link

haberman commented Mar 8, 2012

I've found the Knockout documentation to be very good in general, but one thing I couldn't find explicit documentation about is the precise syntax of the data-bind attribute. Is it just JavaScript interpreted in the context of curly braces? Some examples show more complicated expressions, can this be arbitrary JavaScript? What if the arbitrary JavaScript contains a comma, is this handled?

A page documenting this syntax would be uber-helpful. Thanks for Knockout!

@mbest
Copy link
Member

mbest commented May 31, 2012

This documentation should also include information on ordering: that bindings for an element are evaluated left-to-right and that the order of bindings can be important when one depends on another.

It should also include information on dependencies between bindings for the same element and how to avoid such dependencies (hopefully simple once #321 is included).

@mbest
Copy link
Member

mbest commented Oct 27, 2012

done.

@mbest mbest closed this as completed Oct 27, 2012
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