Knockout.js binding syntax bind to root, self, current context

When using knockout.js if your ViewModel is an array and you want to bind to the entire ViewModel, the syntax to bind to the ViewModel root, when the root is the current context:




The XAML syntax equivalent when the DataContext is an array:




Hope this helps,
Aaron

Comments

Popular posts from this blog

Install and Setup Windows 10 for a Developer

Search iPhone Text Messages with SQLite SQL Query

Pixel Grid Images 8x8 pixel grid on 256 pixel image