Skip to main content

Posts

wrapper Class

Wrapper Class is a class whose instances are the collection of other class objects.                                      "OR" Wrapper Class can be defined as the collection of different kind of datatypes into single datatype i.e. class type.                                       "OR" Wrapping up different datatypes into single type. In other words, we can wrap a primitive  or collection type value into a wrapper class object. ............................................................................... Sample Code:- -------------------->>> Class Student{                                                           String name; String Age; public Student(String name, String Age){     this.name = name;     this.Age = Age; } List< StudentWrapper > liststdwrap = new List< StudentWrapper >(); ....                                                                             .... Class StudentWrapper{     St
Recent posts

Lightning Out

Lightning Out Here i am going to share little information that you need to take care off while using lightning out. Lightning out allow you to embed your Lightning components app in the remote web container, or  origin server .  This means you can use your Lightning Components inside of an external site (i.e. Sharepoint or SAP), in a hybrid app built with the Mobile SDK, or even elsewhere in the App Cloud like on Heroku or in a Visualforce Page. Using the Lightning Out JavaScript libraries you can embed Lightning Components in an app across domains and manage interactions between the component and the app directly in the DOM. For using lightning out there are some points you need to keep in mind:- 1) You must have an app that is extending "ltng:outApp" :- * myLightningApp.app * <aura:application access="GLOBAL" extends="ltng:outApp">     <aura:dependency resource="c:myLightningComponent"/> </aura:application> w