longlostnick/bootstrap-growl

Suggestion to change fadeIn effect to a effect like alertify.js

netinhoteixeira opened this issue · 1 comments

I have a suggestion to change de

object.fadeIn();

to something like

object.animate({
    right: 50,
    opacity: "show"
}, 500);

Instead of hardcoding it this way, the best approach would be to have two new options that a user can override as to how to animate and just swap fadeIn and fadeOut for animate. See my custom plugin called jQuery-Bootstrap-Purr of how I did it.