2

Anyone know if/where documentation exists that outline parameters for native Aura events like e.force:showToast? In all the examples I have found they show "title" and "message" but I was curious if there are additional parameters like "severity" or others.

What I am looking for would be similar to this snippet

var showToast = $A.get('e.force:showToast');

showToast.setParams(
    {
         'title': 'Failure: ',
         'message': "Custom Message Here",
         'severity':"Error"
    }
);

showToast.fire();

1 Answer 1

5

It's in the documentation, available in your production/developer org or sandbox org. You'll need to log in in order to see them. Check out the Events menu on the left, then open the namespace, and then click on the event. All publicly available parameters will be available there.

force:showToast documentation

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .