How to provide hover effects on `<b-nav-item>` mouseover?
See original GitHub issueHello friends, I have just begun using this project, thanks— I can hook into a nav-item’s @click
attribute, but when attempting to receive events on hover, nothing happens.
<template>
<b-nav vertical>
<b-nav-item @mouseover="hello">Home</b-nav-item>
</b-nav>
</template>
<script>
export default {
methods: {
hello() {
debugger
}
}
</script>
- Is this true for most of @bootstrap-vue components?
- Am I missing something?
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Beautiful navigation hover effects - CodePen
Beautiful navigation hover effects · Underline Stroke · Underline Fill · Circle Fill · Shift.
Read more >Bootstrap 4 nav-link hover effect - css - Stack Overflow
The first place to start is add .nav-item { position: relative } . When you use position: absolute that element is positioned to...
Read more >Adding a hover mode to your menu items - Beatriz Caraballo
In today's post, we'll be looking at how you can add three different types of subtle hover mode to your menu items with...
Read more >Bootstrap navbar dropdown show on hover
It is better to create hover effect only for desktop screens. · Hide dropdown menu by adding display:none . · Add pseudo-class :hover...
Read more >Activating nav bar items on hover - Material Design for Bootstrap
Hello, Does the navbar class come with any kind of hover effect? Just like the sidemenu of mdbootstrap website does - moving the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
BTW, @tmorehouse, you might have a jQuery event you’re thinking of.
hover
is not a native DOM event. Usemouseover
ormouseenter
. You can check stack overflow for the differences between those events (I know I always get confused).So this is sort of a duplicate of https://github.com/bootstrap-vue/bootstrap-vue/issues/588. Check this issue for a pretty good description of using
v-on
with the.native
modifier.