You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstable I would like to say thanks for this great plugin. Everything works perfectly for my purpose and it does seems like the besteraser (scratch)plugin available online.
I have been trying to get the callback function working.
however the function is called when the document is loaded. ( instead of being calledback when the eraser function complete).
function test() {
$('#test').fadeIn();
}
function init(event) {
$("#redux").eraser({
completeRatio: 0.8,
completeFunction: test()
});
}
addEventListener( "load", init, false );
The text was updated successfully, but these errors were encountered:
Hi
Firstable I would like to say thanks for this great plugin. Everything works perfectly for my purpose and it does seems like the besteraser (scratch)plugin available online.
I have been trying to get the callback function working.
however the function is called when the document is loaded. ( instead of being calledback when the eraser function complete).
function test() {
$('#test').fadeIn();
}
function init(event) {
$("#redux").eraser({
completeRatio: 0.8,
completeFunction: test()
});
}
addEventListener( "load", init, false );
The text was updated successfully, but these errors were encountered: