@appnest/lit-util
v0.0.15
Published
A collection of useful functions for projects based on lit-html
Downloads
34
Readme
@appnest/lit-util
This project is no longer maintained.
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.