We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c4f6 commit b705a20Copy full SHA for b705a20
src/ts/treeview.ts
@@ -78,9 +78,8 @@ class Treeview {
78
if (childElement) {
79
this._element.classList.add(CLASS_NAME_MENU_OPEN)
80
slideDown(childElement, this._config.animationSpeed)
81
+ this._element.dispatchEvent(event)
82
}
-
83
- this._element.dispatchEvent(event)
84
85
86
close(): void {
@@ -90,9 +89,8 @@ class Treeview {
90
89
91
this._element.classList.remove(CLASS_NAME_MENU_OPEN)
92
slideUp(childElement, this._config.animationSpeed)
93
94
95
96
97
98
toggle(): void {
0 commit comments