Skip to main content
Version: 2.x

SyntheticViewTemplate interface

@microsoft/fast-element > SyntheticViewTemplate

SyntheticViewTemplate interface

A template capable of rendering views not specifically connected to custom elements.

Signature:

export interface SyntheticViewTemplate<TSource = any, TParent = any> 

Methods

Method

Description

create()

Creates a SyntheticView instance based on this template definition.

inline()

Returns a directive that can inline the template.