I am using Kendo Mobile with Backbone. While the events described within Backbone views works perfectly in Desktop browsers, they do not work in iPhone/iPad.
var Home = Backbone.View.extend({
events : {
'click #new_idea' : 'addNewIdea'
},
.....
});
However, if I attach these events directly to the Kendo component, they seem to work fine in both desktop and mobile browsers. Like this:
$('#login_button').kendoMobileButton({
click : this.doLogin
});
Now, the first idea is anyway preferable to me as an application point of view. Can you please tell me what exactly happening here? Do I anyway need to use "tap" event here?
var Home = Backbone.View.extend({
events : {
'click #new_idea' : 'addNewIdea'
},
.....
});
However, if I attach these events directly to the Kendo component, they seem to work fine in both desktop and mobile browsers. Like this:
$('#login_button').kendoMobileButton({
click : this.doLogin
});
Now, the first idea is anyway preferable to me as an application point of view. Can you please tell me what exactly happening here? Do I anyway need to use "tap" event here?