How to use design attributes in lightning web components

If you want to pass any values dynamically while dragging the component to flexi page or community page then you can use design attributes in lightning web components.

In lwc you need to define the properties under targetConfigs xml tag in lwc js xml file as follows(defined attribute should also present in main lwc js file).

Be the first to comment

Leave a Reply

Your email address will not be published.


*