Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
anima-basescroller
Advanced tools
滚动选择组件。
$ spm install anima-basescroller --save
var BaseScroller = require('basescroller');
var nameScroller = new BaseScroller(options);
// use BaseScroller
DOM Object
组件插入的容器 [optional]array<string|number|object>
组件数据集 [optional]function
选中后的回调函数,回调参数有两个: [optional]number
每个可选项的高度值,单位 px,默认值为 34。添加此选项需要修改样式表中 .scroller-item 下的 height 和 line-height 为 itemHeight;.current-indicator 下的 height 为 itemHeight - 2(1px 的 border-top 和 border-bottom)。同时建议设置 .scroller-item 合适的 font-size。 [optional]number
组件可见条目的数量,必须为奇数,默认值为 7。添加此选项需要修改样式表中 .scroller-component 的 height 为 itemsNumber * itemHeight;以及 .current-indicator 下的 top 为 itemHeight * (itemsNumber - 1) / 2。 [optional]string
组件元素 class,用于自定义组件样式,支持以空格分隔的多个 class [optional]FAQs
Best Practice Of Developing Component With Ant-Tool
The npm package anima-basescroller receives a total of 0 weekly downloads. As such, anima-basescroller popularity was classified as not popular.
We found that anima-basescroller demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.