aurelia / templating-binding

An implementation of the templating engine's Binding Language abstraction which uses a pluggable command syntax.
MIT License
32 stars 26 forks source link

Different binding attribute notations - consolidation suggestion #4

Closed litera closed 9 years ago

litera commented 9 years ago

We can manually override default binding strategy value.bind by providing it as i.e. value.one-way. I suggest this be changed to rather use a different convention so we're always referring to the same thing but with sub definition as value.bind.one-way="somePropertyName". I think this would be better as it directly implies which default we're manually defining.

EisenbergEffect commented 9 years ago

I'm hesitant to add an additional dot into the mix. I appreciate the suggestion. For the moment, we are going to stick with the syntax we have. We may re-evaluate before we hit beta though. Thanks!