Skip to content

a html5 boilerplate for creating single page transitions in wechat or other mobile browsers

Notifications You must be signed in to change notification settings

cs7258/wechat-single-page-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

微信单页模版

a boilerplate for creating single page transitions in wechat or other mobile browsers.
一个简单模版用于创建微信或者移动单页过渡效果.

特点:

1.为移动浏览器做了简单的优化,无论应用里有多少页DOM里始终只有3页来做切换.
2.用css3 transition3d来做过渡.
3.支持循环,锁页,跳任意页.

使用方法:

app.init({type:1}); 目前支持三种常见的过渡效果,可用参数1,2,3.

demo:

http://www.imokya.com/html5/spa

About

a html5 boilerplate for creating single page transitions in wechat or other mobile browsers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published