Created
September 24, 2018 20:31
-
-
Save NetanelBasal/f10ecba90d2821edc65a8ece5f7ed21c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ngOnInit() { | |
this.subscription = this.demoQuery.selectSomeProp$.subscribe(prop => { | |
this.someMethod(); | |
this.cdr.detectChanges(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment