docs(): note about ion-img outside virtualscroll (#7474)

This commit is contained in:
Justin Willis
2016-08-03 17:38:27 -05:00
committed by Brandy Carney
parent 15d69c2ab5
commit 8733dd89be

View File

@ -115,6 +115,9 @@ import { VirtualFooter, VirtualHeader, VirtualItem } from './virtual-item';
* makes a HTTP request for the image file. HTTP requests, image
* decoding, and image rendering can cause issues while scrolling. For virtual
* scrolling, the natural effects of the `<img>` are not desirable features.
*
* Note: `<ion-img>` should only be used with Virtual Scroll. If you are using
* an image outside of Virtual Scroll you should use the standard `<img>` tag.
*
* ```html
* <ion-list [virtualScroll]="items">