
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
This is a web component,back to top or home page.
download this project dist files.
copy dest folder to your project.
import .js and .css files to web page.
<link rel="stylesheet" href="./style/linearicons-free.min.css">
<link rel="stylesheet" href="./style/backtop.min.css">
<script type="text/javascript" src="./js/backtop.min.js"></script>
<script type="text/javascript">
BackTop.init(1,500);
</script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>返回顶部组件示例</title>
<link rel="stylesheet" href="./style/linearicons-free.min.css">
<link rel="stylesheet" href="./style/backtop.min.css">
<style type="text/css">
body{height: 6000px;}
</style>
</head>
<body>
</body>
<script type="text/javascript" src="./js/backtop.min.js"></script>
<script type="text/javascript">
BackTop.init(1,500);
</script>
</html>
scroll type,default is 0.
0:uniform speed.
1:uniform acceleration speed.
2:uniform deceleration speed.
scroll times,default is 500ms.
Icons : Linearicons Free v1.0.0
FAQs
web back to top component
We found that 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.