AndreyAkinshin / knockout-mvc

Power of Knockout.js for ASP.NET MVC
http://knockoutmvc.com
203 stars 125 forks source link

Click Binding only make server sides call #20

Open lucacestola opened 11 years ago

lucacestola commented 11 years ago

It could be useful a binding method to map the following cases:

data-bind="click:doSomethingOnViewModel" data-bind="click:doSomethingOnViewModel.bind($data, 'parameter1')"

where doSomethingOnViewModel is a model's function.