[+] Call custom event when a navigation item is selected

This commit is contained in:
Hykilpikonna
2019-08-21 16:24:43 +08:00
parent d33e189934
commit f82d1081f9
+2 -1
View File
@@ -18,6 +18,7 @@ export default class Navigation extends Vue
*/
public onSelect()
{
// Call custom event
this.$emit('navigation:select', this.activeIndex);
}
}