Category 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…

3,996 total views, 3 views today

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…

4,935 total views, 3 views today

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”…

8,231 total views, 2 views today

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…

3,898 total views, 3 views today

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…

3,269 total views, 1 views today