Using event delegation and dataset to reduce the listener to one (#168)
* added all the possible position options into the demo page * event listener is reduced to one and data- attribute is used.
Showing
想要评论请 注册 或 登录
* added all the possible position options into the demo page * event listener is reduced to one and data- attribute is used.