libq.js
v1.2.0
Published
A Simple javascript libaray with UI components
Downloads
89
Readme
#Q.js
描述
简单的js库, 绝对应用级的, 除了Q.Dialog(弹出窗口类)之外几乎都不需要继承和扩展,因为只有真正需要扩展的人才会去做扩展。Q.js可以带来什么:
- 如果浏览器的弹出窗口不美观,Q.Dialog可以完美地解决
- 如果您的WEB应用界面需要一个像Window一样的桌面来完成复杂的窗口交互,右键菜单等高级UI交互, OK,Q.SimpleOS可以帮完成。简洁App开发框架, 几乎不增加增加任何模板语法。
API参考文档
https://iknown.gitee.io/q.js/docs/index.html
示例
示例内容较为丰富简单,在samples目录下可以看到。
- 窗口 - Q.Window
- 对话框 - Q.Dialog
- 模拟alert - Q.Dialog
- 复选框 - Q.CheckBox
- 下拉选框 - Q.DropDownList
- 滑块 水平+垂直 - Q.Slider
- 菜单 - Q.Menu
- 简单表格控件 - Q.Table
- 模拟视窗系统SimpleOS - Q.SimpleOS
项目地址
https://github.com/wayixia/q.js.git
引用库
- json2.js
- tween.js
安装 webpack
npm install webpack webpack-cli --save-dev npm install jsdom
##协议 MIT license