In current Knockout code, the click binding is actually passed to the jQuery event object. This object has shiftKey, altKey and ctrlKey.
So, the function that the click binding is bound to might look like this:
click: function (event) {if (event.shiftKey) {do something (); }}
: http://jsfiddle.net/rniemeyer/ak4vL/
, , , :
<button data-bind="click: function(event) { viewModel.click(event); }">More Hide Anonymous Function</button>
: http://jsfiddle.net/rniemeyer/YUhzk/