Guest User

Untitled

a guest
Jan 18th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. <div *ngFor="let billingItem of billings" class="LG_invoice-item" #billing (click)="setCurrentBilling(billingItem)" >
  2. <div class="LG_form-title" (click)="billing.value = !billing.value">
  3. {{billingItem.month}} {{billingItem.years}}
  4. </div>
  5. <app-billing *ngIf="billing.value" ></app-billing>
  6. </div>
  7.  
  8. (click)="billing.value = !billing.value"
  9.  
  10. <app-billing *ngIf="billing.value" ></app-billing>
  11.  
  12. ngOnInit() {
  13. this.billingsService.log();
  14. setTimeout(() => {
  15. this.billingsService.log();
  16. }, 0);
  17.  
  18. //console.log('currentelem: ', );
  19. }
  20.  
  21. (click)="setCurrentBilling(billingItem)"
  22.  
  23. <div *ngFor="let billingItem of billings" class="LG_invoice-item" #billing (click)="setCurrentBilling(billingItem)" >
  24. <div class="LG_form-title">
  25. {{billingItem.month}} {{billingItem.years}}
  26. </div>
  27. <app-billing *ngIf="billing.value" ></app-billing>
  28. </div>
Add Comment
Please, Sign In to add comment