Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An Enjoyable UI Library
branch: master

This branch is 4087 commits behind kissyteam:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build
docs
src
third-party
tools
.gitignore
LICENSE
README
index.html

README

KISSY - An Enjoyable JavaScript Library

 * Source: http://github.com/kissyteam/kissy
 * License: http://github.com/kissyteam/kissy/blob/master/LICENSE
 * Official Site: http://kissyui.com/

==============
   愿   景
==============
小巧灵活,简洁实用,使用起来让人感觉愉悦。

Keep It
    Simple & Stupid, Short & Sweet, Slim & Sexy...
Yeah!

==============
   目   录
==============
 - build:         构建好的发布文件
 - docs:          API、实例、教程等文档
 - src:           源码、测试等开发资源
 - thirtd-party:  第三方库
 - tools:         打包压缩等自动化工具
 
==============
   代码结构
==============
内部代码组织:采用 module, sub module 来分拆和组织代码
外部调用接口:component 形式,包括工具型组件 utils 和 UI 型组件 widgets

==============
   命名约定
==============
原则:尽量避免潜在冲突,同时力求精简短小和见名知意。
 - 全局变量:       g_ks_comp_xxx        比如: g_ks_suggest_callback
 - class/id 命名: ks-comp[-xxx]        比如: ks-editor-toolbar-item
 - data 属性命名:  data-ks-comp[-xxx]   比如: data-ks-switchable
 - hook 规范:     KS_Comp              比如: KS_Slide
Something went wrong with that request. Please try again.