SHARE
TWEET

Untitled

a guest Sep 16th, 2019 102 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let o1:Observable<boolean> = this.cb1.valueChanges;
  2.    let o2:Observable<boolean> = this.cb2.valueChanges;
  3.  
  4.    merge(o1, o2).subscribe( v=>{
  5.    this.columnDefinitions[0].hide = this.cb1.value;
  6.    this.columnDefinitions[1].hide = this.cb2.value;  
  7.       console.log(this.columnDefinitions);
  8.     });
  9.   }
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