Useful code snippets in lightning

Application event firing:
var nextEvent = $A.get("e.c:NextToShipmentPage");;
Component event firing:
var chooseEvent = component.getEvent("lookupSelect");
     "recordId" : component.get("v.record").id,

Label in JavaScript code if your org has a namespace

Accessing user information without apex code
var userId = $A.get("$SObjectType.CurrentUser.Id");


1 comment:

  1. Casinos Near Casinos in Las Vegas, NV - JTHub
    A map showing casinos 시흥 출장마사지 and other gaming facilities located near casinos 제천 출장샵 in Las Vegas, NV. 영주 출장마사지 Check with JT hub to 광양 출장안마 find the best 오산 출장마사지 casino,


Powered by Blogger.