lit / lit/lit.dev

Clarification on Property Binding (.) in Custom Elements

Open
#1,402 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
230
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've read through the documentation but haven't been able to find a clear explanation of how to access property values using the . syntax inside a custom element.

Is this behavior explicitly documented anywhere? I only discovered it through ChatGPT, which referenced a YouTube video, but I would really like to read the official documentation on this.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the documentation section covering property binding with the . syntax in custom elements, then verify the behavior against the existing documentation. Done means the syntax and its use inside custom elements are clearly explained in an official documentation page.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.