Events
Events
EVENTS
PRESENTATION TITL
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
4
FORMS
FORMS
PRESENTATION TITL
submit buttons
HANDLING FORMS
• onChange – change in the field
• onSubmit – submit the form
• onInput – entering the value