Call Custom Labels in Apex:
String getLabel = Label.Label_API_Name;
Call Custom Labels in Lightning Component:
{!$Label.c.Label_API_Name}
Call Custom Labels in Lightning Javascript Controller:
var getLabel = $A.get(“{!$Label.c.Label_API_Name}”);
String getLabel = Label.Label_API_Name;
Call Custom Labels in Lightning Component:
{!$Label.c.Label_API_Name}
Call Custom Labels in Lightning Javascript Controller:
var getLabel = $A.get(“{!$Label.c.Label_API_Name}”);
Thankyou diness
ReplyDelete