Is there a way of composing a template in Lit using a dynamically derived Lit Element? I'm talking something like this: import { chooseCorrectCompo ...
Is there a way of composing a template in Lit using a dynamically derived Lit Element? I'm talking something like this: import { chooseCorrectCompo ...
(New to the Lit element environment, so apologies for the naive question) Code Summary The code below is a File Uploader web component made using Li ...
I've been trying to make a Web Component with LitElement that works with server side rendering environments (SSR) like NextJS and VueJS, without the n ...
I'm trying to create a unit test for my lit-html element using jest. I want to check if the click event is working as expected. To test an event that ...
I have lit-element based forms that are reused for editing entities. As an example consider a name form with the following fields The user selects ...
How to render component from string in litelement? It is possible or it is possible to convert string to TemplateResult? My code not working ...
I want to do the following: When the property "mobile" is changed, check to see if X is true, if so, set set a variable Y and call requestUpdate to r ...
I'm working with Lit Element and I'm trying add an event listener on 'Click' that will a variable state that will set the dropdown to be expand or not ...
I want to use web component Button (lit) in my project with similar tag. For example: if tag <button-test> exists on website then create tag < ...
Created a web component using LitElement and created a columnrange chart using highcharts in that, now I want to add the border radius only to the top ...
Where I have a custom component that wraps an input element, I'm trying to ensure that tabindex is working correctly. The following code will work fo ...
I have a lit element based javascript project, when I want to throw an html tag with .replace in a text, I encounter either the value with the tag or ...
I'm very new to Lit and Web Components. I hope you can help me. I wrote the following Element: The idea is that when a message is stored in the re ...
I have the following code for the web component which should start video streaming of the cam when the user clicks on the button } with this code ...
I have been referencing the Home Assistant project's use of Polymer app-layout elements with the Lit library. The issue I am having is that I cannot g ...
In our lit web-components library we would like to allow users to add web components in the most HTMLwise manner. Is there a way to pass boolean attri ...
In the below code, i am looping through a list of my data model (this.panel), and generating an input box for each. I would like to propagate any chan ...
Here is my custom element and than you can see on the screenshot the comments that break the styles Does somebody has any idea? Thanx! ...
Information I am learning TypeScript and am translating my already existing CoffeScript code into TypeScript (Lit Web Component). Issue I have an i ...
I'm trying to implement classMap from lit-html. When I install the package my application stops working saying the following: Package path ./directive ...