Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callbacks on opening and closing pushy #59

Open
minimaluminium opened this issue Apr 25, 2015 · 1 comment
Open

Callbacks on opening and closing pushy #59

minimaluminium opened this issue Apr 25, 2015 · 1 comment

Comments

@minimaluminium
Copy link

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.

@morganhein
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants