Skip to content

Commit

Permalink
docs(img): add note for virtual-scroll
Browse files Browse the repository at this point in the history
Ref #10093
  • Loading branch information
mhartington committed Jan 20, 2017
1 parent ce7afd0 commit a5bbbd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/img/img.ts
Expand Up @@ -28,6 +28,8 @@ import { Platform } from '../../platform/platform';
* of images within a scrollable area, then `ion-img` would be better suited
* for the job.
*
* > Note: `ion-img` is only meant to be used inside of [virtual-scroll](/docs/v2/api/components/virtual-scroll/VirtualScroll/)
*
*
* ### Lazy Loading
*
Expand Down

2 comments on commit a5bbbd5

@shprink
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully this is just for the time being. Having ion-img working outside virtual-scroll would be interesting

@fastf0rward
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhartington can you please explain your reasoning behind this?

Please sign in to comment.