javascript - How to wait until hide effect is ended in jquery -
Here are some solutions, but none of them are similar to my problem:
. $ ('.listed-item-table') (not spesificItem). FadeTo ('sharp', 0.2) .hide (1000); I have about 20 items hidden. After this hidden effect I have finished that I will add some object to DOM
and show them. While doing the following:
$ ('List-Item-Table'). No (SPIIIITIM). Fadeto ('sharp', 0.2) .hide (1000, function) (ad adibilbox (specialize);});
I add the object only after the effect of hiding, but I'm adding it 20 times.
How do I wait for all the 20 items to be removed when the effect of hiding and then only DOM
?
$ ('.' -Made-table '). (SpesificItem). FadeTo ('fast', 0.2) .promise () .done (function () {// call back code}};
Comments
Post a Comment