@microsoft/fast-element > HTMLDirective > createPlaceholder
HTMLDirective.createPlaceholder() method
Creates a placeholder string based on the directive's index within the template.
Signature:abstract createPlaceholder(index: number): string;
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the directive within the template. |
string