xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

trao 模拟点击 & js auto click

  1. 日历上选择某一天,在 scrollview 自动定位到选择的那一天

  2. click 后获取 item 的 e.target.offsetLeft 与 box 的 offsetLeft,进行计算

  3. 如何模拟,点击选中的 item ???ref

降级方案

  1. 固定 items, 分组平移 ?单向移动 bug

(美团/驴妈妈)


scrollWidth & scrollLeft


原文地址:https://www.cnblogs.com/xgqfrms/p/12692541.html