I want to be able to make a toast message have two lines of information:
When I look in the documentation, I don't see anything that specifies how to add details to the message, the way we see toast on LightningDesignSystem.com.
Is there a parameter that gets passed into toastEvent.setParams
?
showToast : function(component, event, helper) {
var toastEvent = $A.get("e.force:showToast");
toastEvent.setParams({
"title": "Success!",
"message": "The record has been updated successfully."
});
toastEvent.fire();
}