My thoughts on mobile development Library Zepto

Source: Internet
Author: User

A point-through event for a 1.zepto tap event.

For example, there is a bug. I spent at least one to find the mistake that day.

Click on a button to come out a bullet box. The box I introduced here is the modal component in the JS component of Boostrap.

As a result, I found out that the frame came out and disappeared on my own. Or sometimes it's three clicks. The other two times are all right, the box out. Ok. But the third time, it could be the frame and disappear immediately.

And then I found out that it was because of some time.

This problem can be solved by introducing fastclick.js.

My thoughts on mobile development Library Zepto

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.