
Product
Introducing Custom Tabs for Org Alerts
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.
上拉加载更多
组件只判断是否加载更多, 业务逻辑由使用者编写
npm install pullload --save-dev
new Pullload({
//onScrollEnd 为 加载更多时的回调
onScrollEnd : function(pullload){
}
})
| Method | Description |
|---|---|
| stop | 停止 |
| start | 启动 |
| tick | 业务逻辑执行完毕 |
var page = 1;
new Pullload({
container : '#main',
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
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.