jQuery: FadeOut then SlideUp

前端 未结 6 2105
遥遥无期
遥遥无期 2020-12-04 11:13

If an item is being deleted then I would like to fade it out and slide the other elements up to fill the empty space. Now, when I use fadeOut() the item doesn\'

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-04 12:15

    Can't you chain it?

    $('myelement').fadeOut().slideUp();
    

    EDIT:

    Maybe this will help instead?

提交回复
热议问题