Questions tagged [lit-element]

A base class for creating custom elements with the Lit JS library.

LitElement makes it easy to define web components using /Lit. LitElement allows you to declare reactive properties that re-render the component and reflect to attributes.

It uses to render DOM.

677 questions
-1
votes
1 answer

Design pattern best practices to handle views and locale in a PWA using web components

I'm making my first PWA using web components. I'm making use of the lit-element library. I've got a basic layout and stuff in place, but I want to set up a good system for modular loading of views with the capability of handling locale for strings…
-3
votes
2 answers

Getting error while using Decorators in js

I'm trying to write a simple web component using LitElement. When I try to use: - @customElement('my-element') - @property() I'm getting error. Support for the experimental syntax 'decorators-legacy' isn't currently enabled. Is this…
kutty
  • 1
  • 1
1 2 3
45
46