@appnest/lit-util

v0.0.15
A collection of useful functions for projects based on lit-html
lit-html lit-element custom elements web component custom element web component util and 4 more...

@appnest/lit-util

This project is no longer maintained.

Downloads per month Dependencies NPM Version Contributors MIT License

What is this?

This project is a collection of functions I tend to use when building projects based on lit-html. The goal is to give you some inspiration and make your life a little easier when finding yourself in need of the same functionality.

Install the dependency

npm i @appnest/lit-util

Use @customElement() to define your custom elements.

Use the customElement decorator to define your custom elements. Simply give it a tag-name and your custom element will be defined.

@customElement("hello-component")
export class HelloComponent extends LitElement {
    ...
}

🎉 License

Licensed under MIT.

npm i @appnest/lit-util

Metadata

  • MIT
  • Whatever
  • Appnest
  • released 3/12/2019

Downloads