Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component({
- selector: 'image',
- template: '<img [src]="src | authImage | async" [alt]="alt"/>',
- })
- export class ImageComponent {
- @Input() src: string;
- @Input() alt = '';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement