
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.
virtual-list-scroll
Advanced tools
npm i virtual-list-scroll
import Vue from "vue"
import VirtualListScroll from "virtual-list-scroll"
Vue.use(VirtualListScroll)
<VirtualListScroll :data="blocks">
<template slot-scope="{data}"></template>
</VirtualListScroll>
<VirtualListScroll :height="300" :pageMode="false" :data="blocks">
<template slot-scope="{data}">
</template>
</VirtualListScroll>
<VirtualListScroll
:height="300"
:pageMode="false"
:flxedBlockHeight="50"
:data="blocks"
>
<template slot-scope="{data}">
</template>
</VirtualListScroll>
<VirtualListScroll :height="300" :pageMode="false" :data="blocks">
<template slot-scope="{data}">
<template v-if="data.id===0"></template>
<template v-if="data.id===1"></template>
</template>
</VirtualListScroll>
| Name | Type | Default | Description |
|---|---|---|---|
| data | Array | - | 必填项,列表中数组数据 |
| height | Number | - | 虚拟滚动区域的高度 |
| flxedBlockHeight | Number | - | 每一个列表Item的高度 |
| pageMode | Boolean | true | 假定滚动条是在window上还是在指定的虚拟滚动盒子上 |
| Name | Type | Default | Description |
|---|---|---|---|
| id | String/Number | - | 必填项,虚拟列表渲染的唯一key |
| height | Number | - | 只有当flxedBlockHeight没有设定的时候才会使用这个值 |
MIT
FAQs
We found that virtual-list-scroll 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.