In Aura Components, application events are fired by invoking the fire() method on the event instance.
Option D: fire()
var appEvent = $A.get("e.namespace:eventName");
appEvent.setParams({ "param1" : value1 });
appEvent.fire();
[Reference:, Firing Application Events, Incorrect Options:, Option A: registerEvent, Incorrect., Explanation:, registerEvent is used in the component markup to declare that the component can fire or handle an event., It is not a method used to fire an event., Reference:, Registering Events, Option B: fireEvent(), Incorrect., Explanation:, There is no fireEvent() method in the Aura framework., The correct method to fire an event is fire()., Option C: emit(), Incorrect., Explanation:, emit() is not a method used in Aura components., This method is commonly used in other frameworks but not in Aura., Conclusion:, The method used to fire an Aura application event is fire(), which is option D., ]
Submit