python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Lit - Render function not deleting/updating manual sub-content
I'm busy migrating a static js/html application to Lit. I'm finding the platform to be the most easy to migrate old static code to a framework.
However, I'm having some big issues where rendered code...
ceds
Votes: 0
Answers: 1
Custom Elements: Access the property of another element
I am using Lit Custom Elements:
I am using component A in my component B and want to access the property letters of B (from child to parent element). How do I do that?
// Component A
@customElement('a...
Hans95
Votes: 0
Answers: 1
Lit components do not automatically request an update on property change (problem only in my storybook)
This is really odd: I'm using lit in a storybook (using @storybook/html).
I do not know why, but in my environment lit does not update the component automatically when a property has been changed. If ...
Natasha
Votes: 0
Answers: 2
Render lit / lit-html TemplateResult as string
In lit/lit-html/lit-element, a standard component is the TemplateResult (usually HTMLTemplateResult), created like:
function renderMe(msg) {
return html`<div>Hello ${msg}!</div>`;
}
a...
Michael Scott Asato Cuthbert
Votes: 0
Answers: 2