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
// WeSwitch - TEMP replacement for /node_modules/ionic-angular/components/img/img.js , in order to work around https://github.com/driftyco/ionic/issues/9660 | |
// TODO - Angular 2.3.1 supports component inheritance. As soon as we have >= Angular 2.3.1 in this project, we should extend Ionic's Img component with these fixes instead of copy=pasting the file. | |
import { ChangeDetectionStrategy, Component, ElementRef, Input, NgZone, Optional, Renderer, ViewEncapsulation } from '@angular/core'; | |
import { Content } from '../content/content'; | |
import { DomController } from '../../platform/dom-controller'; | |
import { isPresent, isTrueProperty } from '../../util/util'; | |
import { Platform } from '../../platform/platform'; | |
/** | |
* @name Img |