Here are some Salesforce Lightning Interview Questions
wherein we are able to show lightning issue?
There are a number of opportunities for display lightning component..
Lightning enjoy: we can show factor inside the Lightning experience using the App Builder. we will edit the home page, edit a file element web page or create/edit a brand new app page to encompass it.
Salesforce1 cellular app: we are able to show aspect inside the Salesforce1 mobile app by way of growing a custom Lightning tab that references it and including that tab in cell navigation.
What are the exceptional Lightning aspect bundles?
Controller: consists of purchaser-facet controller techniques to address activities inside the thing.
Helper: JavaScript capabilities that can be referred to as from any JavaScript code in a thing’s package deal
fashion: consists of styles for the aspect.
report: an outline, pattern code, and one or a couple of references to instance components
layout: report required for additives used in Lightning App Builder, Lightning pages, or network Builder.
SVG: custom icon resource for components used in the Lightning App Builder or community Builder.
Renderer: client-side renderer to override default rendering for a aspect.

what's Lightning enjoy?
Lightning enjoy is the name for the all new Salesforce laptop app, with new capabilities, built with a modern person interface and optimized for velocity.
what is Lightning layout device?
fashion courses and contemporary enterprise UX satisfactory practices to construct pixel ideal apps that match the appearance and sense of the Lightning experience and Salesforce1 cell app. click right here for reputable link.
What takes place to my current Visualforce Pages?
They’ll continue to be supported within the contemporary UI and Lightning experience. See the Trailhead module in this topic.
What are the form of occasions into Salesforce Lightning component?
software event – Scope of this event is throughout the lightning App and any issue which has registered for this occasion might get a notification.
element event– Scope of this event is inside itself or the discern factor of this event, all of the additives declared inside the figure component might get notified of this occasion.
gadget occasion- those are the occasions fired by Salesforce’s gadget in the course of the lifecycle of the lightning app.
what's the primary difference among application occasion and aspect event?
issue activities are used to do conversation between baby and parent. They use bubbling and seize same as utilized in DOM occasions. A alternate in a infant thing may be communicated to the parent aspect through issue event.
application events are used to talk any trade inside the issue to a broader target audience. Any factor who has registered for this occasion gets a notified.
factor occasions vs utility occasions. Which one I should use?
thing events can best be dealt with by way of components above them inside the containment hierarchy, therefore, their usage is localized to the additives that need to recognize about them.
utility events are satisfactory used for something that must be handled on the utility stage, including navigating to a selected document. software activities permit conversation among components which can be in separate components of the software and haven't any direct containment courting.
what is aura definition bundle?
A package deal incorporates an charisma definition and its related assets. The definition may be a issue, application, occasion, interface, or a tokens collection.
An AuraDefinitionBundle component is a folder that consists of definition files. unlike maximum other metadata components, an AuraDefinitionBundle component isn’t a unmarried file, it’s a set of files. every document represents a aid in a package deal, inclusive of markup, applications, code documents (which includes controllers and helpers), occasions, documentation, and interfaces.
There are a number of opportunities for display lightning component..
Lightning enjoy: we can show factor inside the Lightning experience using the App Builder. we will edit the home page, edit a file element web page or create/edit a brand new app page to encompass it.
Salesforce1 cellular app: we are able to show aspect inside the Salesforce1 mobile app by way of growing a custom Lightning tab that references it and including that tab in cell navigation.
What are the exceptional Lightning aspect bundles?
Controller: consists of purchaser-facet controller techniques to address activities inside the thing.
Helper: JavaScript capabilities that can be referred to as from any JavaScript code in a thing’s package deal
fashion: consists of styles for the aspect.
report: an outline, pattern code, and one or a couple of references to instance components
layout: report required for additives used in Lightning App Builder, Lightning pages, or network Builder.
SVG: custom icon resource for components used in the Lightning App Builder or community Builder.
Renderer: client-side renderer to override default rendering for a aspect.
what's Lightning enjoy?
Lightning enjoy is the name for the all new Salesforce laptop app, with new capabilities, built with a modern person interface and optimized for velocity.
what is Lightning layout device?
fashion courses and contemporary enterprise UX satisfactory practices to construct pixel ideal apps that match the appearance and sense of the Lightning experience and Salesforce1 cell app. click right here for reputable link.
What takes place to my current Visualforce Pages?
They’ll continue to be supported within the contemporary UI and Lightning experience. See the Trailhead module in this topic.
What are the form of occasions into Salesforce Lightning component?
software event – Scope of this event is throughout the lightning App and any issue which has registered for this occasion might get a notification.
element event– Scope of this event is inside itself or the discern factor of this event, all of the additives declared inside the figure component might get notified of this occasion.
gadget occasion- those are the occasions fired by Salesforce’s gadget in the course of the lifecycle of the lightning app.
what's the primary difference among application occasion and aspect event?
issue activities are used to do conversation between baby and parent. They use bubbling and seize same as utilized in DOM occasions. A alternate in a infant thing may be communicated to the parent aspect through issue event.
application events are used to talk any trade inside the issue to a broader target audience. Any factor who has registered for this occasion gets a notified.
factor occasions vs utility occasions. Which one I should use?
thing events can best be dealt with by way of components above them inside the containment hierarchy, therefore, their usage is localized to the additives that need to recognize about them.
utility events are satisfactory used for something that must be handled on the utility stage, including navigating to a selected document. software activities permit conversation among components which can be in separate components of the software and haven't any direct containment courting.
what is aura definition bundle?
A package deal incorporates an charisma definition and its related assets. The definition may be a issue, application, occasion, interface, or a tokens collection.
An AuraDefinitionBundle component is a folder that consists of definition files. unlike maximum other metadata components, an AuraDefinitionBundle component isn’t a unmarried file, it’s a set of files. every document represents a aid in a package deal, inclusive of markup, applications, code documents (which includes controllers and helpers), occasions, documentation, and interfaces.
Comments
Post a Comment