Create a Zepto collection object by performing a CSS selector, wrapping DOM nodes, or creating elements from an HTML string.
Object containing the default settings for Ajax requests. Most settings are described in $.ajax. The ones that are useful when set globally are:
The following boolean flags are set to true if they apply, if not they're either set to 'false' or 'undefined'. We recommend accessing them with !!
prefixed to coerce to a boolean.
Specific browser
Browser version.
Zepto.fn is an object that holds all of the methods that are available on Zepto collections, such as addClass(), attr(), and other. Adding a function to this object makes that method available on every Zepto collection.
Global settings for animations.
The following boolean flags are set to true if they apply, if not they're either set to 'false' or 'undefined'. We recommend accessing them with !!
prefixed to coerce to a boolean.
Specific OS
Specific device type
General device type
OS version.
Create and initialize a DOM event of the specified type. If a properties object is given, use it to extend the new event object. The event is configured to bubble by default; this can be turned off by setting the bubbles property to false. An event initialized with this function can be triggered with trigger.
Event
Perform an Ajax request. It can be to a local resource, or cross-domain via HTTP access control support in browsers or JSONP. Options: type (default: “GET”): HTTP request method (“GET”, “POST”, or other) url (default: current URL): URL to which the request is made data (default: none): data for the request; for GET requests it is appended to query string of the URL. Non-string objects will get serialized with $.param processData (default: true): whether to automatically serialize data for non-GET requests to string contentType (default: “application/x-www-form-urlencoded”): the Content-Type of the data being posted to the server (this can also be set via headers). Pass false to skip setting the default value. dataType (default: none): response type to expect from the server (“json”, “jsonp”, “xml”, “html”, or “text”) timeout (default: 0): request timeout in milliseconds, 0 for no timeout headers: object of additional HTTP headers for the Ajax request async (default: true): set to false to issue a synchronous (blocking) request global (default: true): trigger global Ajax events on this request context (default: window): context to execute callbacks in traditional (default: false): activate traditional (shallow) serialization of data parameters with $.param If the URL contains =? or dataType is “jsonp”, the request is performed by injecting a