
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
bee-backtop
Advanced tools
react bee-backtop component for tinper-bee
返回顶部
import BackTop from 'bee-backtop';
class BackTopDemo extends Component {
render() {
return (
<BackTop/>
)
}
}
<link rel="stylesheet" href="./node_modules/bee-backtop/build/BackTop.css">
import "./node_modules/bee-backtop/src/BackTop.scss"
//或是
import "./node_modules/bee-backtop/build/BackTop.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
visibilityHeight | 当滚动条高度达到多少显示backtop | number | 400 |
target | 设置要监听滚动事件的元素 | function | () => window |
click | 点击backTop时的回调函数 | function | - |
character | 自定义字符 | ReactNode /string |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-backtop
$ cd bee-backtop
$ npm install
$ npm run dev
FAQs
Backtop ui component for react
The npm package bee-backtop receives a total of 44 weekly downloads. As such, bee-backtop popularity was classified as not popular.
We found that bee-backtop demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.