
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
github.com/gvguy/vue-follow-tooltip
Tiny tooltip directive for Vue 3
Lets you create tooltips that follow cursor
🚀 Live demo 🚀
No dependencies. No under-the-hood libraries. Just a couple of Vanilla JS objects
There are a few things you can customize with options
No need to override default styles, because there aren't any. Just add your CSS as usual
More about styles
More about options
npm i vue-follow-tooltip
import Tooltip from 'vue-follow-tooltip'
<script src="https://unpkg.com/vue-follow-tooltip@latest"></script>
// install it with use()
app.use(Tooltip)
// OR register the directive manually
app.directive('tooltip', Tooltip)
<button v-tooltip="'Look! It\'s a button, let\'s push it!">DON'T PUSH</button>
You can pass options like this:
app.use(Tooltip, {
delay: 500,
center: true,
offsetX: 0,
offsetY: 20
})
The values in the example are the default values
Property names are pretty self-explanatory
The tooltip gets a class .tooltip
Use it to apply styles to it like this:
.tooltip {
background: rgba(1, 1, 1, 0.7);
padding: 10px;
border-radius: 3px;
color: #fbfbfb;
font-family: sans-serif;
transition: opacity 0.3s;
}
top
, left
, opacity
& position
they will have no effecttransition: all ..
, it will mess with how the tooltip follows the cursorMIT
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.