Skip to main content

@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

ParameterTypeDescription
indexnumberThe index of the directive within the template.
Returns:

string