From 72d39efd20234333fb173b3bbdbf6335a40811d2 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 2 Mar 2015 13:05:59 -0700 Subject: [PATCH] docs(collectionRepeat): mention old names for item-{width,height} --- js/angular/directive/collectionRepeat.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/angular/directive/collectionRepeat.js b/js/angular/directive/collectionRepeat.js index 0d54e91d11..5875206c54 100644 --- a/js/angular/directive/collectionRepeat.js +++ b/js/angular/directive/collectionRepeat.js @@ -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.