@custom-elements-manifest/analyzer
Version:
<!-- [=> See Source <=](../../docs/analyzer/index.md) -->
21 lines (17 loc) • 456 B
JavaScript
import { FASTElement, customElement, attr, html } from '@microsoft/fast-element';
const template = html<NameTag>`
<div class="header">
<h3>${x => x.greeting.toUpperCase()}</h3>
<h4>my name is</h4>
</div>
<div class="body">Name Here</div>
<div class="footer"></div>
`;
export class NameTag extends FASTElement {
greeting: string = 'Hello';
bar;
}