File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import { ImageLoaderConfig } from '../providers/image-loader-config';
44
55@Component ( {
66 selector : 'img-loader' ,
7- template : '<ion-spinner *ngIf="spinner && isLoading && !fallbackAsPlaceholder" [name]="spinnerName" [color]="spinnerColor"></ion-spinner>' ,
7+ template : '<ion-spinner *ngIf="spinner && isLoading && !fallbackAsPlaceholder" [name]="spinnerName" [color]="spinnerColor"></ion-spinner>' +
8+ '<ng-content></ng-content>' ,
89 styles : [ 'ion-spinner { float: none; margin-left: auto; margin-right: auto; display: block; }' ]
910} )
1011export class ImgLoader implements OnInit {
@@ -178,7 +179,7 @@ export class ImgLoader implements OnInit {
178179 this . isLoading = ! stopLoading ;
179180
180181 if ( this . _useImg ) {
181-
182+
182183 // Using <img> tag
183184 if ( ! this . element ) {
184185 // create img element if we dont have one
You can’t perform that action at this time.
0 commit comments