Code Monkey home page Code Monkey logo

gmu's Introduction

##Notice##

  • 该地址是GMU新github地址,基于最新zepto 1.0版本,GMU版本为2.0.5
  • 2.0.3及以下版本(支持zepto 1.0rc1),请移步至老的github地址 https://github.com/campaign/gmu

##GMU## GMU是基于zepto的轻量级mobile UI组件库,符合jquery ui使用规范,提供webapp、pad端简单易用的UI组件。为了减小代码量,提高性能,组件再插件化,兼容iOS3+ / android2.1+,支持国内主流移动端浏览器,如safari, chrome, UC, qq等。 GMU由百度GMU小组开发,基于开源BSD协议,支持商业和非商业用户的免费使用和任意修改,您可以通过get started快速了解。

###Quick Start###

###GMU组件###

  1. 扩展在zepto上的公用方法
公共方法 description
zepto.fix 通用fix方法,实现position:fix效果
zepto.highlight 点击高亮效果
zepto.imglazyload 图片延迟加载,支持iscroll中图片延迟加载
zepto.iscroll iScroll 4进行精简,挂载到zepto中,通过$('#iscroll').iScroll()调用
zepto.position 类似于jquery position,处理元素定位,支持at,my,of,with等参数
zepto.location 基于百度定位接口,获取当前坐标
2. **UI组件**
组件名 描述
suggestion 搜索建议
quickdelete 快速删除
tabs tab切换(包括插件tabs.swipe和tabs.ajax)
slider 图片轮播(包括插件slider.dynamic)
navigator 导航栏(包括插件navigator.iscroll)
dialog 对话框(包括插件dialog.position)
panel 面板切换
refresh 点击刷新,拉动刷新(包括插件refresh.iscroll,refresh.iOS5,refresh.lite)
dropmenu 下拉框(包括插件dropmenu.iscroll)
gotop 返回顶部(包括插件gotop.iscroll)
progressbar 进度条
datepicker 日历
button 按钮(包括插件button.input)

###版本说明###

  1. 2.0.3,基于zepto 1.0rc1开发,包括14个通用UI组件及各组件相关插件 latest version

###反馈bug### 如果您有任何关于GMU或移动前端开发中的问题,可以在QQ群中讨论,也可以通过git issue给我们反馈bug,我们会尽快解决。 当然,我们更欢迎您的fork,为GMU添砖加瓦。

###联系我们###

gmu's People

Contributors

2betop avatar zhoumm1008 avatar gmuteam avatar miller avatar amythos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.