{"id":13500329,"url":"https://github.com/senchalabs/jQTouch","last_synced_at":"2025-03-29T05:33:45.480Z","repository":{"id":958976,"uuid":"745502","full_name":"senchalabs/jQTouch","owner":"senchalabs","description":"Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).","archived":false,"fork":false,"pushed_at":"2021-02-18T21:43:34.000Z","size":54399,"stargazers_count":2783,"open_issues_count":61,"forks_count":588,"subscribers_count":123,"default_branch":"master","last_synced_at":"2025-03-23T09:01:38.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.jqtouch.com/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/senchalabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-06-28T20:46:21.000Z","updated_at":"2025-02-18T12:34:25.000Z","dependencies_parsed_at":"2022-07-21T04:34:10.915Z","dependency_job_id":null,"html_url":"https://github.com/senchalabs/jQTouch","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senchalabs%2FjQTouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senchalabs%2FjQTouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senchalabs%2FjQTouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senchalabs%2FjQTouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senchalabs","download_url":"https://codeload.github.com/senchalabs/jQTouch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145013,"owners_count":20730494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T22:00:56.466Z","updated_at":"2025-03-29T05:33:40.469Z","avatar_url":"https://github.com/senchalabs.png","language":"CSS","funding_links":[],"categories":["CSS","Web 前端"],"sub_categories":[],"readme":"# jQT\n\n## Create powerful mobile apps with just HTML, CSS, and Zepto.js (or jQuery).\n\n[![Build Status](https://api.travis-ci.org/senchalabs/jQTouch.png?branch=master)](http://travis-ci.org/senchalabs/jQTouch)\n\njQTouch is a JavaScript plugin which works with either Zepto.js or jQuery, and comes with smooth animations, navigation, and themes for mobile WebKit browsers (as found in iOS, Android, BlackBerry, and WebOS).\n\n- [Easy to install](https://github.com/senchalabs/jQTouch/wiki/Getting-Started). Get up and running in a few minutes.\n- [Entirely customizable](https://github.com/senchalabs/jQTouch/wiki/Initialization-Options) with selector options\n- [Theme support](https://github.com/senchalabs/jQTouch/wiki/Theming), including default Apple and jQTouch custom themes\n- [Callback functions](https://github.com/senchalabs/jQTouch/wiki/Callback-Events) throughout, including swipe and orientation change detection\n- [Zepto](https://github.com/madrobby/zepto) integration - Use Zepto.js instead of jQuery to cut down on precious bandwidth. Zepto.js features a similar API to jQuery, but optimized for WebKit and much smaller.\n- Sass-based stylesheets, easily modified with variables and optimized for size.\n- Image-less stylesheets -- Using [Compass Recipes](https://github.com/senchalabs/compass-recipes), we have recreated all of the gradients and background patterns with CSS. This way, they are resolution independent, dynamically theme-able, and lower bandwidth.\n- Page history management and CSS3 page transitions, including 3D flip, cube, and swap\n- Failover to 2D animations for devices that don't support 3D\n- Easily allow apps to run in fullscreen mode with custom icons and startup screens\n- The power of jQuery to build AJAX applications\n- New demos: Clock and Todo\n\n## Getting Started\n\nThe easiest way to try out jQT is with the demo archive, which can be found in the release tab on Github:\n\n- [jQT Releases](https://github.com/senchalabs/jQTouch/releases)\n\nPlease look for the download (green button) with filename prefixed with `jqt-demo` (ie, `jqt-demo-\u003c\u003c version \u003e\u003e.tar.gz`.)\n\nOnce unzipped and untar, you can open `package/demons/index.html` with any WebkitBrowser on a desktop.\n\n## Links\n\nRecently added features can be found at [New and Noteworthy](https://github.com/senchalabs/jQTouch/blob/master/VERSIONS.md) page.\n\n[Source code](http://github.com/senchalabs/jQTouch/archives/master), [issue tracking](http://github.com/senchalabs/jQTouch/issues), and [documentation](http://wiki.github.com/senchalabs/jQTouch/) are available on github.\n\n[Watch this video preview](http://www.jqtouch.com/) to see it in action.\n\n## Building your own version of jQTouch\n\n### Dependencies\n\nWe have quite a few dependencies at the moment, as we build with Compass/SASS for stylesheets, which is only available via Ruby. The actual build system, however, is built on Grunt.\n\nPlease make sure you have the following installed:\n\n* [Ruby](http://www.ruby-lang.org) — Comes default on Macs, Windows users can use [RubyInstaller](http://rubyinstaller.org)\n* [Sass](http://sass-lang.com) \u0026 [Compass](http://compass-style.org) — Install both with `sudo gem install compass` once you have Ruby/RubyGems installed\n* [Node.js \u0026 NPM](http://nodejs.org) — `brew install node`\n* [Grunt CLI](http://gruntjs.com) — Install with `npm install -g grunt-cli` once you have Node.js as listed above.\n* Local node packages — Run `npm install` from this directory\n\n### Commands\n\n#### `grunt` (default)\n\nWill create a build of jQTouch in the `build/` directory, compiling any theme files and updating with source from the Zepto submodule. This must be run to preview jQTouch.\n\n#### `grunt build`\n\nThis task is used only for iterative development. It does not update submodule, nor clean the build. (The `default` grunt task must be called once before this task.)\n\n#### `grunt watch`\n\nWill create the same build as `grunt build`, but will continue to watch for file changes to theme and source files, compiling/copying them into build every time you save. If you have a livereload browser extension installed and enabled, the page will update live after every change. (The `default` grunt task must be called once before this task.)\n\n#### `grunt compass`\n\nOnly build the theme files. Typically, you'll want to use `grunt watch` for developing a custom theme. (The `default` grunt task must be called once before this task.)\n\n#### `grunt test`\n\nRun our test suite. (The `default` grunt task must be called once before this task.)\n\n#### `grunt dist`\n\nThis is typically used internally for creating releases — It does everything the standard build does, but then additionally minifies all JS/CSS and updates the paths in demo files.\n\n\n\nExternal Guides\n---------------\n\nJonathan Stark has created an excellent introduction to jQTouch as part of his book, [Building iPhone Apps with HTML, CSS, and Javascript](http://ofps.oreilly.com/titles/9780596805784/chapAnimation.html).\n\n[PeepCode did a screencast](http://peepcode.com/products/jqtouch) ($9), as well as a [cheat sheet](http://blog.peepcode.com/tutorials/2009/jqtouch-cheat-sheet), which have been helpful to many people.\n\nCredits\n-------\n\nCreated, and still occasionally maintained, by [David Kaneda](http://www.davidkaneda.com).\n\nMaintained by [Thomas Yip](https://github.com/thomasyip).\n\nSpecial thanks to [pinch/zoom](http://www.pinchzoom.com/) and [Jonathan Stark](http://jonathanstark.com/).\n\n(c) 2009-2013 Sencha Labs.\n\njQTouch may be freely distributed under the MIT license.\nSee LICENSE.txt for license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenchalabs%2FjQTouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenchalabs%2FjQTouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenchalabs%2FjQTouch/lists"}