
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.
vue-scroll-m
Advanced tools
npm install
npm run dev
npm install vue-scroll-m -S
* 手机打开微信或QQ二维码扫码查看示例
<template>
<div id="app">
<scroll ref="scroll"
:data="listData"
:top="40"
:bottom="40"
@onScroll="onScroll"
@pullingUp="onScrollBottom"
@pullingDown="onPullingDown">
<div class="list">
<div class="item" v-for="(item, index) in listData" :key="index">
</div>
</div>
</scroll>
</div>
</template>
import Scroll from 'vue-scroll-m'
export default {
components: {
Scroll
},
}
| 参数 | 类型 | 描述 | 必需 | 默认值 |
|---|---|---|---|---|
| data | array | 滚动列表渲染的数据 | 是 | [] |
| top | number或string | 滚动列表相对顶部位置 | 否 | 0 |
| bottom | number或string | 滚动列表相对底部位置 | 否 | 0 |
| triggerHeight | number或string | 触发pullingUp事件高度 | 否 | 200 |
| onScroll | function | 监听列表滚动 | 否 | |
| pullingUp | function | 滚动到底部加载更多触发 | 否 | |
| pullingDown | function | 下拉刷新回调方法 | 否 |
FAQs
A mobile scroll component for vue, 移动端H5 vue滚动组件支持下拉刷新和上拉加载更多
We found that vue-scroll-m 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.