Resolved issues: #1169.

- #1169 Collapsible: It should emit `beforeshow` and `beforehide` events.