事件 下表列出了滚动监听中要用到事件。 事件描述实例 activate.bs.scrollspy 每当一个新项目被滚动监听激活时,触发该事件。 $('#myScrollspy').on('activate.bs.scrollspy', function () { // 执行一些动作... })