0% found this document useful (0 votes)
7 views6 pages

Events

Uploaded by

masashwint
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

Events

Uploaded by

masashwint
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6

EVENTS

EVENTS
PRESENTATION TITL

• a specific action that occurs within a web


page or application
E

EVENT OBJECT
• represents the event that gets triggered by
user interactions or other actions like
clicking, typing, or submitting a form

2
TYPES OF EVENTS
PRESENTATION TITL

• Mouse event
• Keyboard event
E

• Form event
• Clipboard event
• Focus event
• Touch event
• Drag event
• Media event
• Window event
• Wheel event
• Pointer event

3
HANDLING EVENTS
PRESENTATION TITL

• onClick , onKeyDown , onSubmit , onload


E

• ‘on’ is used between handlers.

• HTML – onclick , REACT – onClick

• More handlers than HTML

4
FORMS
FORMS
PRESENTATION TITL

• collect user input and data through various interactive


elements like text fields, checkboxes, radio buttons, and
E

submit buttons

HANDLING FORMS
• onChange – change in the field
• onSubmit – submit the form
• onInput – entering the value

You might also like