📜  waypoint - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:23.092000             🧑  作者: Mango

代码示例1
var waypoint = new Waypoint({
  element: document.getElementById('element-waypoint'),
  handler: function(direction) {
    notify(this.element.id + ' triggers at ' + this.triggerPoint)
  },
  offset: '75%'
})