From 366d42e970d6e9406c70650e3c0f73074d45e440 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Fri, 1 Sep 2017 22:26:00 -0400 Subject: [PATCH] feat(img-loader): allow adding content inside the image box --- src/components/img-loader.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/img-loader.ts b/src/components/img-loader.ts index e26c9a7..87e782a 100644 --- a/src/components/img-loader.ts +++ b/src/components/img-loader.ts @@ -4,7 +4,8 @@ import { ImageLoaderConfig } from '../providers/image-loader-config'; @Component({ selector: 'img-loader', - template: '', + template: '' + + '', styles: ['ion-spinner { float: none; margin-left: auto; margin-right: auto; display: block; }'] }) export class ImgLoader implements OnInit { @@ -178,7 +179,7 @@ export class ImgLoader implements OnInit { this.isLoading = !stopLoading; if (this._useImg) { - + // Using tag if (!this.element) { // create img element if we dont have one