Open JjayAr opened 4 years ago
Hello guys, i am trying the callback in the documentation but its not working.
$("#wPaint").wPaint({ onDrawDown: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); }, onDrawMove: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); }, onDrawUp: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); } });
Hello guys, i am trying the callback in the documentation but its not working.
$("#wPaint").wPaint({ onDrawDown: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); }, onDrawMove: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); }, onDrawUp: function (e) { console.log(this.settings.mode + ": " + e.pageX + ',' + e.pageY); } });