mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(collectionRepeat): mention old names for item-{width,height}
This commit is contained in:
2
js/angular/directive/collectionRepeat.js
vendored
2
js/angular/directive/collectionRepeat.js
vendored
@@ -68,8 +68,10 @@
|
||||
* For example: `album in artist.albums` or `album in artist.albums | orderBy:'name'`.
|
||||
* @param {expression=} item-width The width of the repeated element. The expression must return
|
||||
* a number (pixels) or a percentage. Defaults to the width of the first item in the list.
|
||||
* (previously named collection-item-width)
|
||||
* @param {expression=} item-height The height of the repeated element. The expression must return
|
||||
* a number (pixels) or a percentage. Defaults to the height of the first item in the list.
|
||||
* (previously named collection-item-height)
|
||||
* @param {number=} item-render-buffer The number of items to load before and after the visible
|
||||
* items in the list. Default 3. Tip: set this higher if you have lots of images to preload, but
|
||||
* don't set it too high or you'll see performance loss.
|
||||
|
||||
Reference in New Issue
Block a user