I am new to ember.js and working on an application to highlight text like below:
<div>
<h3 class = "title" ></h3>
<div class = "date" ></div>
<p class = "content" >
</p>
</div>
I created a function highlight which will get the class name and highlight the search text the user input. This function works fine, but I have to click to trigger this highlight function. Is there any way in ember action helper can trigger this function whenever the div node rendered or automatically triggered?
Aucun commentaire:
Enregistrer un commentaire