• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sentsin / layui / 425
50%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2019 07:33AM UTC
Jobs 1
Files 16
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
425

Pull #594

travis-ci

web-flow
laypage配置对象增加disabled属性

用于在异步加载分页数据时, 阻止用户再次触发跳页
示例: 
```
layui.use(['laypage'], function () {
  var laypage = layui.laypage;
  laypage.render({
    // ...
    jump: function (obj, first) {
      // 如果不是首次, 并且不是disabled状态
      if (!first && !obj.disabled) {
        obj.disabled = true;
        // 模拟异步操作
        setTimeout(function () {
          // 重置disabled状态
          obj.disabled = false;
        }, 5000);
      }
    }
  })
})
```
Pull Request #594: laypage: config对象增加disabled属性

832 of 3545 branches covered (23.47%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 1 file covered. (100.0%)

1223 of 4242 relevant lines covered (28.83%)

252.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 425.1 19 Nov 2019 07:33AM UTC 0
26.39
Travis Job 425.1
Source Files on build 425
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #425
  • Pull Request #594
  • PR Base - master (#405)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc