Clarification on Property Binding (.) in Custom Elements
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!
this.propertyName
Custom elements are just classes that extend from HTMLElement. You can read about how Javascript classes work here.
Hello, we have the following docs here:
https://lit.dev/docs/templates/expressions/#property-expressions
Did you use the site search for this? If so, can you tell me what you searched for so I can update our site search to include those terms?