SteveSanderson/knockout — Issue #226: consistent organization of bindings
Author: mbest
Created: 2011-12-09 20:29:02+00:00
State: open

I'd like to see some more consistency to the way bindings are organized. Here's how the current default bindings work:

Use related top-level bindings: options/optionsCaption/etc., value/valueUpdate,

Use either one top-level binding or multiple second-level bindings: template (although foreach, if, with, etc. are related to template, you can't use them together with template like you can with options), foreach.

Use only second-level bindings (these second-level bindings aren't actually dependent on each other and should act like individual bindings): attr, event, css, style.

I'll put some thought into developing a more consistent approach to the binding organization, and will report back with my ideas.