Ralf David 0 Posted November 25, 2020 Report Share Posted November 25, 2020 var k = 0; ToolbarView = Backbone.View.extend({ className: 'toolbar-wrapper', events: { 'click .close-toolbar': function() { return this.remove(); }, 'click .flip-garment': function() { var j; j = this.model.get('image'); k += 180; j.style.transform = "rotatey(" + k + "deg)"; }, Quote Link to post Share on other sites
Question
Ralf David 0
var k = 0;
ToolbarView = Backbone.View.extend({
className: 'toolbar-wrapper',
events: {
'click .close-toolbar': function() {
return this.remove();
},
'click .flip-garment': function() {
var j;
j = this.model.get('image');
k += 180;
j.style.transform = "rotatey(" + k + "deg)";
},
Link to post
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.