[+] Call custom event when a navigation item is selected
This commit is contained in:
@@ -18,6 +18,7 @@ export default class Navigation extends Vue
|
|||||||
*/
|
*/
|
||||||
public onSelect()
|
public onSelect()
|
||||||
{
|
{
|
||||||
|
// Call custom event
|
||||||
|
this.$emit('navigation:select', this.activeIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user