Last active
March 5, 2021 15:59
-
-
Save IgorGavrilenko/cba89f293c685d163f6feb6f53d8b160 to your computer and use it in GitHub Desktop.
DOMNodeInserted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// insertedInit | |
$(insertedInit); | |
function uOrderInitInit(){ | |
var $parent = $('.parent'); | |
var $el = '.el'; | |
$parent.on("DOMNodeInserted", function (event) { | |
$(event.target).find($el).addClass(); | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment