Skip to main content

@microsoft/fast-element > Controller > template

Controller.template property

Gets/sets the template used to render the component.

Signature:
get template(): ElementViewTemplate | null;

set template(value: ElementViewTemplate | null);

Remarks

This value can only be accurately read after connect but can be set at any time.