Appcan.slider.js Exploration

Source: Internet
Author: User

1:-moz on behalf of the Firefox browser private properties

-ms for IE browser private properties

-webkit represents Chrome, safari private properties

2: define New module: Appcan.define (Name,function () {})

Create a new module Appcan.define (Name,definecall)

Name: The module name to create

Definecall: A function that creates a module, passes three arguments when executing the function, the first parameter is a Zepto object, the second is a copy of the reference to the module to be exported, and the third is the module object to export, where the exports object is the reference point to export. Zepto.js is a Javascript framework specifically for modern smartphone browsers, with similar syntax to jquery, but compared to jquery, he has many advantages, size, compressed zepto.min.js size only 21K , using server-side gzip compression size only 5~10k, can be said to be very small, but the function is complete, more out of some touch screen events, it is the only thing that does not support is the evil of IE, but use it to develop iphone and Android Web page is absolutely preferred.

Appcan.slider.js Exploration

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.