recipe 5.8. Detect a Mouse Click Outside a Pop Up to Close It
5.8.1. Problem
You want your pop up to close if the user clicks outside of
it.
5.8.2. Solution
Listen for the mouseDownOutside
event on your pop-up control.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.
Start a Free Trial