Q. How can you dispatch a synthetic event object?

  • (A) dispatchEvent()
  • (B) dispatch()
  • (C) dispatch(Event)
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) dispatchEvent()
Explanation: When you have created and initialized an synthetic event object, you can dispatch it using the dispatchEvent() method of EventTarget.
Explanation by: Mr. Dubey
When you have created and initialized an synthetic event object, you can dispatch it using the dispatchEvent() method of EventTarget.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
141
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate