Skip to content

Instantly share code, notes, and snippets.

@amitkumarRoy
Last active July 24, 2018 06:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitkumarRoy/5ae4a3c887f043ab2e83781c268f0be6 to your computer and use it in GitHub Desktop.
Save amitkumarRoy/5ae4a3c887f043ab2e83781c268f0be6 to your computer and use it in GitHub Desktop.
({
doInIt : function(component, event, helper) {
var id = component.get("v.pageReference").state.message;
var toastEvent=$A.get('e.force:showToast');
toastEvent.setParams({
title:'Rendering page',
message:id,
key:'info_alt',
type:'info',
mode:'pester'
});
toastEvent.fire();
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment