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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?