Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
scroll-view-bar
Advanced tools
Readme
Scroll bar with thumbnail background, similar to vscode side navigation
npm install scroll-view-bar --save
import ScrollViewBar from 'scroll-view-bar';
export default () => (
<ScrollViewBar style={{height:300}} trigger={'滚动导航'} delay={0}>
<div>content<div>
</ScrollViewBar>
);
Property | Type | Default | Description |
---|---|---|---|
prefixCls | String | scroll-view-bar | prefixCls of this component |
trigger | React.ReactNode | scroll navigation | When the mouse hovers over the hover-button, trigger the scroll bar display |
delay | number | 2000 | The delay in first loading the background image |
observable | boolean | false | Whether to enable content change monitoring for updating the scrollbar background |
trackWidth | number | 160 | scroll-track width |
trackStyle | CSSProperties | scroll-view-bar | customize track style |
thumbStyle | CSSProperties | scroll-view-bar | customize thumb style |
onUpdate | (value: {top: number;scrollTop: number;scrollHeight: number;clientHeight: number;})=>void | call when scrolling |
# install dependencies
$ npm install
# develop library by docs demo
$ npm start
# build library source code
$ npm run build
# build library source code in watch mode
$ npm run build:watch
# build docs
$ npm run docs:build
# check your project for potential problems
$ npm run doctor
MIT
FAQs
Scroll bar with thumbnail background similar to vscode
The npm package scroll-view-bar receives a total of 1 weekly downloads. As such, scroll-view-bar popularity was classified as not popular.
We found that scroll-view-bar demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.