Aura 1
Aura 1
for mobile and desktop devices. Modern framework for building single-page
applications with dynamic, responsive user interfaces for Salesforce.com apps.
COMPONENT
=========
Components are the self-contained and reusable units of an app.
The framework supports partitioned multi-tier component development that bridges
the client and server.
It uses JavaScript on the client side and Apex on the server side.
aura:component
===============
Where to use the component?
in Home page
in Record Page
as tab page (app page)
7. Attributes
i. access : This denotes the scope of the component
Values:
public : default one which says that the component can be used within
the namespace only.
global : this says the component can be used both inside and outside the
namespace.
ii. controller:
Used to specify the name of the apex class.
iii. description
Comments about the component
iv. extends
1. this component can extend another component
eg., extends="namespace:anotherComponentName"
v. extensible
It is a boolean value. Default value is false.
If true, then this component can be extended by another component
vi. template
Specify the name of the custom template that your component
vii. implements
Used to specify the list of interfaces
8. Navigation
Setup
|--- > Developer Console
|--- > File
|--- > New
|---> Lightning Component
Interfaces
===========
flexipage:availableForRecordHome
expose the component in lightning app builder for record pages of standard and
custom objects.
flexipage:availableForAllPageTypes
expose the component in lightning app builder for all the page types such as
home page and record page.
================================================================
How to create component
How to preview using aura app
How to implement in record page, in app page.
About aura:component
used to create custom component
flexipage:availableForRecordHome
flexipage:availableForAllPageTypes
{!v.attributeName}