-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(v-b-hover): new directive for reacting to hover changes #4771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #4771 +/- ##
==========================================
+ Coverage 99.92% 99.92% +<.01%
==========================================
Files 255 256 +1
Lines 5285 5292 +7
Branches 1405 1405
==========================================
+ Hits 5281 5288 +7
Misses 3 3
Partials 1 1
Continue to review full report at Codecov.
|
…tstrap-vue into feat/v-b-hover
…` directive (#4772) * chore: delete hoverswap private util in favor of v-b-hover directive * Delete bv-hover-swap.spec.js
…tstrap-vue into feat/v-b-hover
…tstrap-vue into feat/v-b-hover
Maybe it is necessary to receive a second parameter to know which element is being hovered, or there is a way to get it?
How to achieve it? |
Same problem here. Is there any convenient way? For the time being, I just resorted back to |
Describe the PR
New directive
v-b-hover
for reacting to changes in hover on an elementThe directive accepts a callback as the value. When the element is hovered or unhovered, the callback is called with a single Boolean argument signifying if the element is hovered (
true
) or not (false
).PR checklist
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
dev
branch, not themaster
branch[...] (fixes #xxx[,#xxx])
, where "xxx" is the issue number)fix(alert): not alerting during SSR render
,docs(badge): update pill examples
,chore(docs): fix typo in README
, etc). This is very important, as theCHANGELOG
is generated from these messages.If new features/enhancement/fixes are added or changed:
package.json
for slot and event changes)If adding a new feature, or changing the functionality of an existing feature, the PR's
description above includes: