javascript - Angular4 - My script events doesn't work after routerLink click -
i'm new in angular. have script in jquery sintax , scripts many efects on dom. when start application script works after click in routerlink inside dom mouse events dosen't work, click events. ideia problem? tks!
example of code:
$(document).ready(function(){ $.material.init(); $("#side-menu").children().children().mouseover(function(){ $(this).addclass('_active'); }).mouseout(function(){ $(this).removeclass('_active'); }); }
Comments
Post a Comment