top of page

Pass Lightning Event to Visualforce Pages

As we know Lightning Component we can load inside Visualforce Pages. In this article we will see how to do Event communication between Lightning Component and Visualforce Page

Lightning Component event to Visualforce Page

Fire an Application event from Lightning Component actions which can be handled in Visualforce Page handlers. If your Application Event name is "ProcodingskillsAppEvent" then in VF page it looks like

$A.eventService.addHandler({ "event": "c:ProcodingskillsAppEvent", "handler": retriveEventData });

function retriveEventData(){

// Where eType adn eMessage are the Application Attributes

var eType = event.getParam("eType"); var eMsg = event.getParam("eMessage");


23 views0 comments


bottom of page