@microsoft/fast-element > ElementController > template
ElementController.template property
Gets/sets the template used to render the component.
Signature:
get template(): ElementViewTemplate<TElement> | null;
set template(value: ElementViewTemplate<TElement> | null);
Remarks
This value can only be accurately read after connect but can be set at any time.