摘要: 整体效果,可以输出音量大小的开关 三个事件,一个拖动周期 1.鼠标按下(mousedown,touchstart),标记开始,然后记录起始位置xy 2.鼠标移动(mousemove,touchmove),如果标记是开始状态,则根据移动状态位置,更新按钮新的定位 3.松开鼠标(mouseup,touc 阅读全文
posted @ 2018-05-29 14:21 egohere 阅读(881) 评论(0) 推荐(0) 编辑