
Product
Introducing Immutable Scans
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.
上拉加载更多
组件只判断是否加载更多, 业务逻辑由使用者编写
npm install pullload --save-dev
new Pullload({
//onScrollEnd 为 加载更多时的回调
onScrollEnd : function(pullload){
}
})
| Method | Description |
|---|---|
| stop | 停止 |
| start | 启动 |
| tick | 业务逻辑执行完毕 |
var page = 1;
new Pullload({
onScrollEnd : function(pullload){
$.ajax({
url: 'http://cmnt.sina.cn/aj/v2/index?page=' + page++,
success: function(rs) {
var str = '';
rs.data.forEach(function(item, index) {
str += '<div></div>';
})
$('body').append(str);
//当dom操作执行完毕后, 需要运行该方法, 以允许下一次判断
pullload.tick();
}
})
}
})
FAQs
The npm package pullload receives a total of 0 weekly downloads. As such, pullload popularity was classified as not popular.
We found that pullload 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.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.