You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any callback when pushy is opened and closed?
I want to add some styles to <html> and <body> elements when pushy is opened and remove them when closed.
The text was updated successfully, but these errors were encountered:
There's no callback currently in pushy. Since pushy requires no custom js, and actually doesn't really give you an easy way to access the pushy object, you can't tell pushy to perform a callback on execution. However, if you understand callbacks, it shouldn't be hard to implement your own in the library.
Is there any callback when pushy is opened and closed?
I want to add some styles to
<html>
and<body>
elements when pushy is opened and remove them when closed.The text was updated successfully, but these errors were encountered: