-
-
Save ederchrono/4feb5074f8d222c817ced4c97f94efd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- HTML inside nav > ul --> | |
<li | |
v-for="(item, index) in menuItems" | |
:key="`item-${index}`" | |
@mouseover="selectItem(index)" | |
@mouseleave="selectItem(-1)" | |
:class="{'selected': item.selected}" | |
class="menu-item" | |
> | |
{{item.label}} | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment