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

Callback in not working #128

@JjayAr

Description

@JjayAr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions