Рет қаралды 6,816
Hey everyone, In this video we will se how to detect outside click.
This video can be helpful when we try to close a modal or popup on outside click.
In this I have simply checked if the target element where the user is clicking and the modal element both are different, we can perform any necessary actions.
If this video was helpful, give it a thumbs up and subscribe to my channel for more such videos. 🔔
Subscribe here - / devchannelbyakashingole
MMT Interview Experience -
• Make my trip Frontend ...
Airtel Frontend Interview -
• Airtel Frontend Interv...
Gradeup Frontend Interview -
• Gradeup (BYJU'S Exam P...
Debouncing with React js
• Search in React using ...
Cheers,
Akash Ingole
Would love to Stay Connected with you ❤️
Instagram - / akashingoleofficial
#react #javascript #detectoutsideclick #reacthooks