Skip to main content
Version: 2.x

TemplateValue type

@microsoft/fast-element > TemplateValue

TemplateValue type

Represents the types of values that can be interpolated into a template.

Signature:

export declare type TemplateValue<TSource, TParent = any> = Expression<TSource, any, TParent> | Binding<TSource, any, TParent> | HTMLDirective | CaptureType<TSource, TParent>;

References: Expression, Binding, HTMLDirective, CaptureType