84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
我已经实现点击按钮显示和隐藏菜单,但是实现点击其他位置和向下滑动菜单会消失,怎么去实现?演示效果:http://es.xiaojukeji.com/换成移动端
走同样的路,发现不同的人生
https://segmentfault.com/q/10...
给document添加一个点击事件,点击让它消失,同时给菜单一个阻止冒泡
https://segmentfault.com/q/10...
给document添加一个点击事件,点击让它消失,同时给菜单一个阻止冒泡