smoke.js icon indicating copy to clipboard operation
smoke.js copied to clipboard

smoke.signal ... the previous way

Open dtrillo opened this issue 10 years ago • 1 comments

I am using smoke.js for a long time. I already wrote about this library on my blog: #manejandodatos Smoke.Js for showing alerts and messages - http://www.manejandodatos.es/2013/10/smoke-js-showing-alerts-messages

In a previous version of this library I code something like this:

smoke.signal('Message', 1000);

where 1000 is the time that the funcion is working!

A few days ago, I updated smoke.js to the new version and I have noticed that the previous function is not working anymore!

Although I can notice the improvement is the new "smoke.signal" allowing callbacks, is there any chance to have a "smoke.signal2" function like in the previous version?

dtrillo avatar Mar 18 '14 15:03 dtrillo

Append a property yourself with a function that switches the parameters, perhaps...

agamemnus avatar Mar 19 '14 07:03 agamemnus