@genexus/lit-devkit
v0.1.14
Published
A set of utilities to build and test Lit applications and libraries.
Readme
Lit DevKit
A set of utilities to build and test Lit applications and libraries.
Features
- Decorators:
Component: Define a Lit custom element with support for setting Shadow Root Options, global styles and more.Event: An easier way to define and dispatch Custom DOM Events.Watch: Define a callback to execute when observed properties change, e.g.@propertyor@state, but before the component updates.
Install
npm i @genexus/lit-devkitContributing to Lit DevKit
Lit DevKit is open source and we appreciate issue reports and pull requests. See CONTRIBUTING.md for more information.
Setting up the repo for development
Install Bun
npm i -g bunInitialize repo:
git clone https://github.com/genexuslabs/lit-devkit
cd lit-devkit
bun iBuild the repo:
bun run buildTest the repo:
bun run test