mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 13:32:54 +08:00
docs(): note about ion-img outside virtualscroll (#7474)
This commit is contained in:

committed by
Brandy Carney

parent
15d69c2ab5
commit
8733dd89be
@ -116,6 +116,9 @@ import { VirtualFooter, VirtualHeader, VirtualItem } from './virtual-item';
|
|||||||
* decoding, and image rendering can cause issues while scrolling. For virtual
|
* decoding, and image rendering can cause issues while scrolling. For virtual
|
||||||
* scrolling, the natural effects of the `<img>` are not desirable features.
|
* 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
|
* ```html
|
||||||
* <ion-list [virtualScroll]="items">
|
* <ion-list [virtualScroll]="items">
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user