Skip to content

Added callback beforeClose and beforeOpen#82

Merged
ComputerWolf merged 2 commits intoComputerWolf:masterfrom
w3development-kn:master
Apr 23, 2015
Merged

Added callback beforeClose and beforeOpen#82
ComputerWolf merged 2 commits intoComputerWolf:masterfrom
w3development-kn:master

Conversation

@w3development-kn
Copy link
Copy Markdown
Contributor

If you want e.g. change the background of the menu when it´s open, you would normally do it with the open callback. But then the background changes AFTER the menu is opened. So the user got a flickering of the change for the duration of the animation. So I added the beforeClose and the beforeOpen callback.

Lukas Menges added 2 commits April 23, 2015 11:50
If you want e.g. change the background of the menu when it´s open, you would normally do it with the open callback. But then the background changes AFTER the menu is opened. So the user got a flickering of the change for the duration of the animation. So I added the beforeClose and the beforeOpen callback.
ComputerWolf added a commit that referenced this pull request Apr 23, 2015
Added callback beforeClose and beforeOpen
@ComputerWolf ComputerWolf merged commit 2f6b224 into ComputerWolf:master Apr 23, 2015
@w3development-kn
Copy link
Copy Markdown
Contributor Author

Please consider of this adding to your documentation, cause the old callbacks are not working anymore

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants