Friday 24 April 2020

Lighnting Component Framework Bundle

The Lightning Component framework is a UI framework for developing single-page web apps for mobile and desktop devices.The Lightning Component framework is a UI framework for developing single-page web apps for mobile and desktop devices.

Component Bundles

A component bundle contains a component or an app and all its related resources.

1. Component : Component contains UI Parts.

2. Controller : Its a controller for the component. Its contains JavaScript to make the server call to get the data from apex and show on to the component. Its a mediator between component and server.

3. Helper : It is used for reusable purpose , its means we can create some common method inside single helper in a different different JavaScript controller inside a single application.

4. Style : It's a CSS file and we can put custom CSS in this tag.

5. Documentation : It contains some specific documentation of the application, that wanted to show to the user to use this application like these are the documents you need to read first after reading these documents you will get the complete idea about this app.

6. Renderer : If we want to override the default behaviour of the component , so we need to put the code inside the Renderer JS.

7. Design : Design basically contains attribute for the pre-requist form any particular component.

8. svg : svg  is used for creating the custom icon.



Other Useful Blog
Lightning Web Component


Happy Learning !!

No comments:

Post a Comment