バインディングに stickit で Backbone.js を使用しています。以下のようなものがあります。ユーザーがどの要素をクリックしたかを知るにはどうすればよいですか? (ラジオボタン)
initialize: function() {
this.listenTo(this.model, 'change', this.blockDiv);
}
blockDiv : function() {
console.log('The changed element is '+); //How do i know which element the user has changed?
}
bindings : {
'[name=element1]' : element1,
'[name=element2]' : element2
}