exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 144 discussion

Actual exam question from Salesforce's CRT-450
Question #: 144
Topic #: 1
[All CRT-450 Questions]

Application Events follow the traditional publish-subscribe model.
Which method is used to fire an event?

  • A. registerEvent()
  • B. fireEvent()
  • C. emit()
  • D. fire()
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
1vanTT
2 months, 4 weeks ago
Selected Answer: D
Answer is D. registerEvent() isnt a thing, you use <aura:registerEvent ... in markup. https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/events_component_example.htm fireEvent() seems to only be for custom events. https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_fireevent.htm emit() is JS fire()
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago