Guest User

Untitled

a guest
Feb 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. some html code...
  2. <app-new-task [_id]="Lead._id"></app-new-task>
  3.  
  4. import { Component, OnInit, Input } from '@angular/core';
  5. ...
  6. @Input() _id: string;
  7.  
  8. ngOnInit() {
  9. this.someFunction(this._id);
  10. }
  11.  
  12. someFunction(somearg) {
  13. ...
  14. }
  15.  
  16. ZoneAwarePromise {__zone_symbol__state: null, __zone_symbol__value: Array(0)}
Add Comment
Please, Sign In to add comment