/manager

control lit web components with robot state machines

Primary LanguageTypeScript

Manager

(c) 2021 — present, Gatlin Johnson gatlin@niltag.net.

overview

Manager lets you control lit components with robot finite state machines. (Read more about Lit's "reactive controllers" here.)

The best introduction I can think of is simply to take a look at the included example web component. See below for information on building the example.

building

Before you can do anything else, make sure you first install Manager's dependencies:

npm i

just the Manager library

This will only build the actual Manager controller and not the example component (eg, the proper behavior when being installed by a client project).

npm run build

demo

To try out the example component, run:

npm run example

Then visit http://localhost:8000/ in your favorite browser.

Issues / Questions / Concerns

You may file reports using GitHub's Issues feature, or you may email me: gatlin+manager@niltag.net.