waypoints

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element.

Github星跟踪图

Waypoints

Waypoints is a library that makes it easy to execute a function whenever you scroll to an element. Build Status

var waypoint = new Waypoint({
  element: document.getElementById('thing'),
  handler: function(direction) {
    alert('You have scrolled to a thing')
  }
})

If you're new to Waypoints, check out the Getting Started guide.

Read the full documentation for more details on usage and customization.

Shortcuts

In addition to the normal Waypoints script, extensions exist to make common UI patterns just a little easier to implement:

Contributing

If you want to report a Waypoints bug or contribute code to the library, please read the Contributing Guidelines. If you need help using Waypoints, please do not open an issue. Instead, ask the question on Stack Overflow and tag it with #jquery-waypoints. Be sure to follow the guidelines for asking a good question.

License

Copyright (c) 2011-2014 Caleb Troughton. Licensed under the MIT license.

主要指标

概览
名称与所有者reduxjs/redux-thunk
主编程语言TypeScript
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2015-07-13 13:33:08
推送于2025-03-16 00:36:10
最后一次提交2025-03-16 00:36:10
发布数24
最新版本名称v3.1.0 (发布于 2023-12-04 08:50:37)
第一版名称v0.1.0 (发布于 )
用户参与
星数17.8k
关注者数169
派生数1k
提交数236
已启用问题?
问题数214
打开的问题数0
拉请求数86
打开的拉请求数1
关闭的拉请求数61
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?