Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <li
  2. ng-mouseover="hoverEdit = true"
  3. ng-mouseleave="hoverEdit = false">
  4. <div (click)="onRowClick(item)" [ngClass]="{'editar': item.tipo == 2 }">
  5. <i class="leaf" *ngIf="!item.children"></i>
  6. <i class="action" *ngIf="item.children" class="fa" [ngClass]="item.expanded ? 'fa-minus' : 'fa-plus'"></i>
  7. <i class="icon fa" [ngClass]="item.expanded ? item.expandedIcon : item.collapsedIcon"></i>
  8. <span [innerHTML]="item.nomeRealcado || item.label"></span>
  9. </div>
  10.  
  11. <div *ngIf= "item.tipo == 2" ng-show="hoverEdit">
  12. <a [routerLink]="['/']"> Edit</a>
  13. </div>
  14. </li>
  15. enter code here
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement