@microsoft/fast-element > RepeatBehavior
RepeatBehavior class
A behavior that renders a template for each item in an array.
Signature:
export declare class RepeatBehavior<TSource = any> implements ViewBehavior, Subscriber
Implements: ViewBehavior, Subscriber
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates an instance of RepeatBehavior. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Bind this behavior. | ||
|
Handles changes in the array, its items, and the repeat template. | ||
|
Unbinds this behavior. |