zurb/foundation — pull request #2175 by arthurio (2013-04-12 20:11:24+00:00)
Title: Dropdown callbacks: closed, opened

Based on @alettieri work (https://github.com/zurb/foundation/pull/302), I added two callbacks on the dropdown:

- opened: Callback made when the dropdown is fully displayed, the activeClass is added
- closed: Callback made when the dropdown is fully hidden, the activeClass is removed

I also refactored the code a bit to have a open and close method.