javascript - Backbone click event doesnt trigger -
I was facing a very strange problem. In my HBS code, I have the next part of the code
And my backbone code is as follows
Define (['Marienet', 'clickthist'], function (Merineet, template) {return bayon Marionette .ememview.extend ({Template: Template: templateHelper: {}, Event: {'click .link': 'onClickLink'}, onClickLink: function {event} {event.preventDefault (); Alert ("Hi"); But, on the click, I can not see any warning. I am quite new to the spinal cord. Please tell where I go wrong I huh?
Comments
Post a Comment