Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. How can you dispatch a synthetic event object?

  2. A.

     dispatchEvent()

    B.

     dispatch()

    C.

     dispatch(Event)

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    When you have created and initialized an synthetic event object, you can dispatch it using the dispatchEvent() method of EventTarget.


Be The First To Comment