Viewing Events Fired on Elements with Chrome DevTools
To troubleshoot and optimize event handling on your web pages, you can use Chrome DevTools to inspect the events triggered on specific elements.
Execute the following steps using Chrome Web Developer:
Inspect the Element:
Monitor Events:
Using monitorEvents:
Specifying Event Type:
Interactions with the inspected element will now display their event names and associated data.
Stop Monitoring:
Available Event Types (as of 2023-01-30)
You can narrow down monitored events by specifying the following types:
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3