#1169 Collapsible: It should emit beforeshow and beforehide events.
Merge pull request #1170 from pazguille/master

Resolved issues: #1169.