I'm using Kendo MVVM.
I have a function on my viewModel which is determined in the show event.
So in the data-show I perform a
viewModel.set("clickFunction", clickFunction);Then I try to bind in the view using:
<a data-bind="click: clickFunction">Click Me</a>The problem I am trying to solve is on the mobile device I need to navigate between several SPAs (Don't argue with me that it shouldn't be done this way, I have requirements which make this valid). So when trying to navigate between SPAs I have to use functionality provided by Cordova
changePage: function(url){ window.location = url; }If there is a better way of doing this in a listview <a styled element I am open to them.