Is there any callback methods in JQuery?

Hello, is it possible to get callback from the type methods addClass, etc ?
Something like that:
$("#id").addClass("class")
.done: function() {
code...
};
July 9th 19 at 13:19
3 answers
July 9th 19 at 13:21
Solution
addClass is executed synchronously, the following line of code will be executed when the element is already added class
July 9th 19 at 13:23
Some of the functions are colbecki, some no. See the documentation for the specific functions.
I can't imagine why would you need callback for .addClass
July 9th 19 at 13:25
This method has the kalbekov.
Can use similar code:
$(".one").addClass("two").each(function(){
alert('true');
})

Find more questions by tags jQuery