SteveSanderson/knockout — Issue #374: add documentation for "data-bind" attribute syntax
Author: haberman
Created: 2012-03-08 23:51:39+00:00
State: open

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!