AngularJS: show hide elements based on mouse events -


here example - http://plnkr.co/edit/iwvjjcuuruw2avkdarfz?p=preview

i delete button show when mouse hovers on row , perform function delete(name), passing name

how can achieve this?

p.s new angular world

this can solved css, no need bring js or angular. using basic css in opinion better solution. add following stylesheet:

 <style>    tr i.icon-minus-sign { display: none; }    tr:hover i.icon-minus-sign { display: block; };  </style> 

Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -