Monday, February 6, 2017

What are the standard components in lightning components?


What are the standard components in lightning components?


Components are reusable applications components. There are 2 types of components in salesforce.

1).Standard components can be used in salesforce one applications as well as in lightning application also.

2).Force.com components can only be used in salesforce one application.
Example of standard component is

aura:iteration iterates over a collection of items and renders the body of the tag for each item.

Data changes in the collection are rendered automatically on the page. aura:iteration supports iterations containing components that have server-side dependencies or that can be created exclusively on the client-side.

 


Example :
Here is my component 




Here is my component controller code

Defined getNumberList function in controller, and set the values from this controller. If you observer line number 8 I prepared listOfNums and passed to component variable “listOfNumbers”.






Finally the output is :



For reference:


9 comments:

suresh666 said...

I really appreciate for your efforts to make things easy to understand. I was really many students struggling to understand certain concepts but you made it clear and help me bring back my confidence.

Sales force online training in hyderabad
Sales force online training in usa
Cloud computing training in hyderabad

Thamizharasi J said...

thanks for shared wonderful information of giving best information.its more useful and more helpful. great doing keep sharing
SAT Training Centre in Chennai

Thamizharasi J said...

thanks for shared wonderful information of giving best information.its more useful and more helpful. great doing keep sharing
SAT Training Centre in Chennai

Mahalya sree said...

A nice article here, i think that people who have grown up with the idea of using computers are showing more responsibility towards writing posts that are thoughtful, do not have grammar mistakes and pertinent to the post..
Home Interiors in Chennai

saran said...

Just read your website. Good one. I liked it. Keep going. you are a best writer your site is very useful and informative

thanks for sharing!
android development company in Chennai

Unknown said...

the article was very easy to understand salesforce Online Training Hyderabad

resma k said...

It's so nice article thank you for sharing a valuable content. google cloud online course

Dharani M said...

Nice post..
salesforce training in Marathahalli

salesforce admin training in Marathahalli

salesforce developer training in Marathahalli

asha said...

Nice Blog
salesforce training in Bangalore

salesforce admin training in Bangalore

salesforce developer training in Bangalore

Post a Comment

 
| ,