Custom Lightning Modal/Popup Box
What is Modal in Salesforce Lightning Experience ?
Basically Modals/Popup Box are used to display content in a flake/layer above the app. This instance is used in various cases such as the creation or editing of a record, also different types of messaging and wizards.
Modal box in Lightning Experience Looks Like this:-
LightningModalBox.cmp [Lightning Component Code]
LightningModalBoxController.js [Js Controller Code]:
LightningModalBoxApp.app [Lightning App Code]:
After the winter 17 release you can use the Lightning Design System style in Lightning Apps by extends=”fore:slds”. The Salesforce Lightning Design System provides a look & feel that’s consistent with Lightning Experience. Use Lightning Design System styles to give your custom applications a UI that is consistent with Salesforce.

Comments
Post a Comment