@framejs/renderer-lit-html

A Framejs renderer for lit-html

Stats

StarsIssuesVersionUpdatedCreatedSize
@framejs/renderer-lit-html
2361.0.93 years ago4 years agoMinified + gzip package size for @framejs/renderer-lit-html in KB

Readme

@framejs/renderer-lit-html

FrameJS rendererer for lit-html.

lit-html is a great templating extension when working with complex elements. Read more about lit-html.

Install

$ npm install @framejs/core @framejs/renderer-lit-html

Usage

import { CustomElement } from '@framejs/core';
import { withLitHtml, html } from '@framejs/renderer-lit-html';

@CustomElement({
    tag: 'my-element'
})
class MyElement extends withLitHtml(HTMLElement) {
    render() {
        return html`I'm so lit!`;
    }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.