mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
docs(virtual-scroll): add recommendation to use WKWebView
This commit is contained in:
@ -157,6 +157,9 @@ import { VirtualFooter, VirtualHeader, VirtualItem } from './virtual-item';
|
|||||||
*
|
*
|
||||||
* ### Performance Tips
|
* ### Performance Tips
|
||||||
*
|
*
|
||||||
|
* - When deploying to iOS with Cordova, it's highly recommended to use the
|
||||||
|
* [WKWebView plugin](http://blog.ionic.io/cordova-ios-performance-improvements-drop-in-speed-with-wkwebview/)
|
||||||
|
* in order to take advantage of iOS's higher performimg webview.
|
||||||
* - Use `<ion-img>` rather than `<img>` so images are lazy loaded
|
* - Use `<ion-img>` rather than `<img>` so images are lazy loaded
|
||||||
* while scrolling.
|
* while scrolling.
|
||||||
* - Image sizes should be locked in, meaning the size of any element
|
* - Image sizes should be locked in, meaning the size of any element
|
||||||
|
Reference in New Issue
Block a user