Hello,
When binding a function to "change" event, through .on() method, how is it possible to detect either :
- whether this change event was triggered by pressing ESC key
- whether the browser is entering or exiting fullscreen mode
I couldn't find such information in the event object.
What I'm trying to achieve is to detect when the browser is exiting fullscreen mode because ESC key was pressed.
Thanks for any help, screenfull is great,
Mathias
Hello,
When binding a function to "change" event, through
.on()method, how is it possible to detect either :I couldn't find such information in the
eventobject.What I'm trying to achieve is to detect when the browser is exiting fullscreen mode because ESC key was pressed.
Thanks for any help, screenfull is great,
Mathias