function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
smriti sharan19smriti sharan19 

lightning element in Lightning web component

I have gone through definition of LightningElement but unable to understand it clearly.

Definition
LightningElement is a custom wrapper of the standard HTML element.It extends element to create a JavaScript class for a Lightning web component.
ANUTEJANUTEJ (Salesforce Developers) 
Hi Smriti,

I found your question on Stack exchange and the additional information was mentioned as an answer the link to the StackExchange question is below:

>> https://salesforce.stackexchange.com/questions/311640/what-is-lightning-element-in-lightning-web-component

Additionally, I think you can try checking trailhead for an example of usecase: https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-basics/create-lightning-web-components

I hope this helps.

Regards,
Anutej