Currently there is a very nice animation that bubbles in and out when the
modal is displayed. However this is not ideal for all scenarios. For
instance, I wish to have a slight transition at the start of the modal
being displayed but wish it to disappear immediately upon closing. In order
to do this currently I need to hardcode the animation properties within the
hideContent function.
Could this please be exposed in future releases?
FADE_OUT_TIME = 350
function hideContent(elts, settings, callback) {
elts.contentWrapper
.animate({
height: '50px',
width: '50px',
marginTop: (-(25+settings.borderH)/2 + settings.marginScrollTop)+'px',
marginLeft: (-(25+settings.borderW)/2 + settings.marginScrollLeft)+'px'
}, {duration: FADE_OUT_TIME, complete: function() {
elts.contentWrapper.hide();
callback();
}});
}