@rhi-ui/html
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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>
    `;
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @rhi-ui/html

      Weekly Downloads

      0

      Version

      1.0.6

      License

      Apache-2.0

      Unpacked Size

      1.85 kB

      Total Files

      5

      Last publish

      Collaborators

      • praxis-tech