@microsoft/fast-element > RenderDirective > (constructor)
RenderDirective.(constructor)
Creates an instance of RenderDirective.
Signature:
constructor(dataBinding: Binding<TSource>, templateBinding: Binding<TSource, ContentTemplate>, templateBindingDependsOnData: boolean);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
dataBinding |
Binding<TSource> |
A binding expression that returns the data to render. |
|
templateBinding |
Binding<TSource, ContentTemplate> |
A binding expression that returns the template to use to render the data. |
|
templateBindingDependsOnData |
boolean |