当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 17

molaowu / juggle
暂停

forked from 电霸儿 / juggle
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

juggle

Build Status Codacy Badge License

juggle是一个JavaScirpt基础库,包含事件、Tween、mv框架、http、websocket、资源、模块等,帮助开发者快速搭建合理的底层结构。

架构图

https://github.com/dianbaer/juggle

allinone安装

npm install juggle-all

分开使用

1、事件Event

npm install juggle-event


juggle-event是一个事件库,可用于解除包含结构,树形结构的耦合性。
支持冒泡,是构建UI的基石

例子:juggle-event-test

juggle-event了解更多

2、动画管理Juggler

npm install juggle-juggler


juggle-event是一个动画管理类,可以添加与移除动画。

例子:juggle-juggler-test

juggle-juggler了解更多

3、动画类Tween

npm install juggle-tween


juggle-tween是Tween类,拥有精准的动画。

例子:juggle-tween-test

juggle-tween了解更多

线上例子地址:

https://www.threecss.com/juggle-tween-test/test.html

4、延迟回调DelayedCall

npm install juggle-delayedcall


juggle-delayedcalll是一个精准的延迟回调类。

例子:juggle-delayedcall-test

juggle-delayedcall了解更多

5、支持事件派发的websocket客户端

npm install juggle-websocket


juggle-websocket是一个支持事件派发的websocket客户端

例子:juggle-websocket-test

websocket服务器(直接可用):

https://github.com/dianbaer/grain/tree/master/grain-threadwebsocket-test

juggle-websocket了解更多

6、mv框架

npm install juggle-mv


juggle-mv是一个mv框架解除数据源与视图控制器,视图控制器之间的耦合性。

例子:juggle-mv-test

juggle-mv了解更多

7、http客户端

npm install juggle-http


juggle-http是可以进行事件派发的httpclient库,可以发文件

例子:juggle-http-test

http服务器(直接可用):

https://github.com/dianbaer/grain/tree/master/grain-httpserver-test

juggle-http了解更多

8、resource资源

npm install juggle-resource


juggle-resouce是一个资源库,支持加载多资源回调

例子:juggle-resource-test

juggle-resource了解更多

9、module资源

npm install juggle-module


juggle-module是模块类,支持模块加载卸载

例子:juggle-module-test

juggle-module了解更多

上传npm包

npm pack

npm adduser

npm publish
MIT License Copyright (c) 2017 电霸儿 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

juggle是一个JavaScirpt基础库,包含事件、Tween、mv框架、http、websocket、资源、模块等,帮助开发者快速搭建合理的底层结构。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/molaowu/basic.git
git@gitee.com:molaowu/basic.git
molaowu
basic
juggle
master

搜索帮助