SHARE
TWEET

Untitled

a guest Feb 17th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top