MCQ Single Best Answer Easy

QWhich object is passed as an argument to keydown, keyup, and keypress handlers?

ID: #5164 Javascript DOM & Event Handling MCQ 115 views
Question Info
#5164Q ID
EasyDifficulty
Javascript DOM & Event Handling MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A KeyboardEvent
  • B Key Event
  • C Mouse Event
  • D Alphabet Event
Correct Answer: Option A

Explanation

The DOM Level 3 Events specification now includes standardised support for two-dimensional mouse wheels via the wheel event, as well as improved support for text input events via a new KeyboardEvent object that is passed as an argument to handlers for keydown, keyup, and keypress events.

Share This Question

Challenge a friend or share with your study group.