Created
January 26, 2017 16:11
-
-
Save trumbitta/b3805ddac612d45942bb01386307ed84 to your computer and use it in GitHub Desktop.
Failed update
This file contains hidden or 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
private imageSrc: string; | |
ngOnInit() { | |
this.imageSrc = 'default value'; | |
this.subscription = this.imageService.getRemoteUrl$(this.componentData).subscribe((url) => { | |
console.log('QUAAAAACK pre', this.imageSrc); | |
this.imageSrc = url; | |
console.log('QUAAAAACK post', this.imageSrc); | |
}); | |
} | |
---- | |
debug: {{ imageSrc }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment