while using fade.out

from https://www.npmjs.com/package/fade
fade.in(el[, duration][, callback])
Fade in el (in duration ms). Call callback when finished.

i tried to use that so i typed
fade.out(targetObject,configData.msgAniDuration * 1000,function(){

but fade out doesn’t work. Eventhough the third element function() works.
can i have suggestions?

(You might get an answer here, but because this forum is focused on npm, you might want to ask your question somewhere that targets experts with your package. I have moved your topic to #community:javascript)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.