Overview

Example

The following example shows the basic concepts in action:

The example below uses the excellent playground-elements component from the Lit team.

You can edit the component definition below and see how the output changes live on the page.

The KNOBS component lets you see the live values of the properties and attributes of the component, as well as a live view of the component's outer HTML.

Next: Templating Previous: Quick guide