
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
float-my-vue
Advanced tools
Float My Vue is a lightweight and versatile Vue.js library that simplifies the positioning and handling of floating elements such as tooltips, popovers and more.
Install the package using npm:
npm install float-my-vue
Import FloatMyVue
in the components where you would like to use it:
import { FloatMyVue } from 'float-my-vue';
And import the styles in the main file of your project (or wherever you prefer while making sure that the styles are loaded before the component is used):
import 'float-my-vue/style.css';
By default you can use the component with some styled content:
<FloatMyVue side="right">
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
Also you can use a light theme:
<FloatMyVue side="right" color="light">
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
You can change the position of the floating element:
<FloatMyVue side="right" side="right"> <!-- left, top, bottom -->
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
You can change the size of the arrow:
<FloatMyVue side="right" :arrow-size="50">
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
You can adjust the position of the floating element:
<FloatMyVue side="right" :offset="{ x: 123, y: 321 }">
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
You can control the open/close state externally:
<FloatMyVue side="right" :open="true">
<template #reference>Open!</template>
<template #content>Content</template>
</FloatMyVue>
There are slots that allow you to customize the content:
<FloatMyVue side="right" color="light">
<template #reference>Open!</template>
<template #arrow>⬇️</template>
<template #float>This doesn't look good</template>
</FloatMyVue>
FAQs
Unknown package
The npm package float-my-vue receives a total of 0 weekly downloads. As such, float-my-vue popularity was classified as not popular.
We found that float-my-vue demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.