@rhi-ui/html
v1.0.6
Published
Basic tagged template which will allow us to get code highlights, on VSCode, for our vanilla custom element templates.
Downloads
13
Maintainers
Readme
HTML Tagged Template
Basic Tagged template which will allow us to get code highlights, on VSCode, for our vanilla custom element templates.
Use
When writting vanilla custom elements, write your template in the following fashion to get html code highlights:
public static getTemplate(): string {
return html`
<div>My HTML template code goes here</div>
`;
}