Commit c2ee1fc9 authored by yann300's avatar yann300

trigger hide/show

parent ebd0115c
......@@ -72,9 +72,11 @@ DropdownPanel.prototype.toggle = function () {
if (el.style.display === '') {
el.style.display = 'none'
caret.className = 'fa fa-caret-right'
this.event.trigger('hide', [])
} else {
el.style.display = ''
caret.className = 'fa fa-caret-down'
this.event.trigger('show', [])
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment