Category Archives: Lightning Components

Discussion about only related to Lightning Components.

Events Communication in Lightning

Lightning Events are used to communicate to direct Lightning Components or indirect Lightning Components in Lightning Framework. Component Event: This type of event can be fired from a Component and on other side, the component in the same hierarchy will … Continue reading

3,211 total views, no views today

Posted in Lightning Components | Leave a comment

What is bound{! } expression and unbound{# } expression?

Bound Expression: {!v.attributeName}: Anything has been changed to the attribute in the Child Component affects the respective attribute in the Parent Component and vice-versa. Unbound Expression: {#v.attributeName}: Anything has been changed to the attribute in the Child Component doesn’t affect … Continue reading

3,868 total views, no views today

Posted in Lightning Components | Leave a comment

How to use Component Id?

Component Id: This defines an identifier of the elements of a particular component. There are two types of Component Ids such as Local Id & Global Id. Local Id-> To retrieve a component in Javascript. It is defined in “aura:id” … Continue reading

7,035 total views, 1 views today

Posted in Lightning Components | 1 Comment

Lightning Component – Attributes

Attributes are used to perform the input and output operation in the Lightning Component or App. Attributes are just like Variables in the Apex Class. Need to use <aura:attribute> tag to declare the attribute in the Lightning Component or App. Definition … Continue reading

2,996 total views, no views today

Posted in Lightning Components | 1 Comment

Build your first Lightning Component – Only View

How to build your first Lightning Component? Only View, No Logic Step 1: Create Lightning Component Bundle named “Welcome” After creation, we will get four primary files such as Welcome.cmp Welcome.css WelcomeController.js WelcomeHelper.js We need to update Welcome.cmp & Welcome.css … Continue reading

2,471 total views, no views today

Posted in Lightning Components | Leave a comment