A script to detect if the user is leaving the page and calls a function.
-
Updated
Mar 6, 2019 - JavaScript
A script to detect if the user is leaving the page and calls a function.
Add a description, image, and links to the leave-intent topic page so that developers can more easily learn about it.
To associate your repository with the leave-intent topic, visit your repo's landing page and select "manage topics."