API Reference

md-virtual-repeat-container provides the scroll container for md-virtual-repeat.

Virtual repeat is a limited substitute for ng-repeat that renders only enough dom nodes to fill the container and recycling them as the user scrolls.

Usage

Hello {{i}}!

Attributes

Parameter Type Description
md-orient-horizontal boolean boolean

Whether the container should scroll horizontally (defaults to orientation and scrolling vertically).

md-auto-shrink boolean boolean

When present, the container will shrink to fit the number of items when that number is less than its original size.

md-auto-shrink-min number number

Minimum number of items that md-auto-shrink will shrink to (default: 0).