Directive to mark an ng-template as the item template for the virtual scroll component.
The template provided by this directive will be used to render each item in the virtual scroll.
The context for the template will include the item data and its index.
Example
<igx-virtual-scroll [data]="items">
<ng-template igxVirtualItem let-item let-i="index">
<div>{{ i }}: {{ item }}</div>
</ng-template>
</igx-virtual-scroll> Constructors
Section titled "Constructors"IgxVirtualItemDirective
new IgxVirtualItemDirective(): IgxVirtualItemDirective Returns IgxVirtualItemDirective
Properties
Section titled "Properties"template
Section titled "template"template: TemplateRef<IgxVsItemContext<T>> Defined in projects/igniteui-angular/virtual-scroll/src/virtual-scroll/virtual-scroll-item.directive.ts:20