How to do it…

  1. Currently, the component is in a random access level. Now we are putting it as access="global", and then as <aura:attribute…>. As of now, its access is set to public, and now we are putting it as global, as shown in the following code snippet:
<aura:component access="global"  
implements="flexipage:availableForAllPageTypes">
<!-- for the label of the Name -->
<aura:attribute access="global" name="enterName" type="String"
default="Enter Name"/>
<ui:outputText value="{!v.enterName}" />
<ui:inputText />
<ui:button label="Submit" />
</aura:component>
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.40.189