@microsoft/fast-element > RepeatDirective
RepeatDirective class
A directive that configures list rendering.
Signature:export declare class RepeatDirective<TSource = any> extends HTMLDirective
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(itemsBinding, templateBinding, options) | Creates an instance of RepeatDirective. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
createPlaceholder | (index: number) => string | Creates a placeholder string based on the directive's index within the template. |
Methods
Method | Modifiers | Description |
---|---|---|
createBehavior(target) | Creates a behavior for the provided target node. |