SHARE
TWEET

Untitled

CassiusAli May 21st, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.       this.addFormData.filter((d) => {
  2.             this.activeParentName = name;
  3.             for (let i = 0; i < this.parents.length; i++) {
  4.               if (this.activeParentName == this.parents[i].name) {
  5.                 if (this.parents[i].id == d.parentId) {
  6.                   this.childs = [];
  7.                   setTimeout( () => {
  8.                     this.childs.push(d);
  9.                   }, 100); // Execute somethingElse() every 2 second
  10.                 }
  11.               }
  12.             }
  13.             }
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