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 - cannot display multiple markers in google maps v3 from traceroute result -

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

javascript - firefox memory leak -