
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
一个基于 vue2.x 版本的回到顶部组件,API 跟 element-ui 保持一致。
在 main.js 中写入以下内容:
import Vue from "vue";
import ElBacktop from "el-backtop";
Vue.use(ElBacktop);
在 vue 文件中使用:
<template>
<div>
<el-backtop></el-backtop>
</div>
</template>
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
target | 触发滚动的对象 | string | document.documentElement |
visibility-height | 滚动高度达到此参数值才出现 | number | 200 |
right | 控制其显示位置, 距离页面右边距 | number | 40 |
bottom | 控制其显示位置, 距离页面底部距离 | number | 40 |
FAQs
A vue backtop component
We found that el-backtop 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.