July 2016

Salesforce

How to set properties in Custom Lightning Component in Salesforce?

Sample Code: Lightning Component: <aura:component implements="flexipage:availableForAllPageTypes">     <aura:attribute name="height" type="Integer" default="100"/>     <aura:attribute name="width" type="Integer" default="100"/>     <aura:attribute name="styl" type="String"/>     <aura:handler name="init" value="{!this}" action="{!c.doInit}"/> <button ....