オブジェクトで単純なslideUpアニメーションを実行しています。アニメーションが完了したら、要素に属性タグを追加したいと考えています。どうすればこれを機能させることができますか?
if($(this).is(':visible')) {
if(config.animate=='true')
$(this).slideUp(options.animationTime); //After animation ends do $(this).attr('shown','true');
else
$(this).hide();
}