-
-
Save ederchrono/ea9158d5658442c4975f1d3f445cc8e7 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}} | |
<span class="arrow">➔</span> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment