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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -