Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.

Callback in not working #128

Open
JjayAr opened this issue Nov 12, 2019 · 0 comments
Open

Callback in not working #128

JjayAr opened this issue Nov 12, 2019 · 0 comments

Comments

@JjayAr
Copy link

JjayAr commented Nov 12, 2019

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);
}
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant