Currently I'm working in a view where I have to dynamically create HTML elements.
I'm creating the HTML elements with *ngFor directive bounded with an Array.
I need to refer the new HTML element with JQuery selector after push a new object into the Array, but the HTML element is not rendered yet.
How can I trigger a function just after the HTML element is ready ?
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…