@microsoft/fast-element > RepeatDirective > (constructor)
RepeatDirective.(constructor)
Creates an instance of RepeatDirective.
Signature:constructor(itemsBinding: Binding, templateBinding: Binding<TSource, SyntheticViewTemplate>, options: RepeatOptions);
Parameters
Parameter | Type | Description |
---|---|---|
itemsBinding | Binding | The binding that provides the array to render. |
templateBinding | Binding<TSource, SyntheticViewTemplate> | The template binding used to obtain a template to render for each item in the array. |
options | RepeatOptions | Options used to turn on special repeat features. |