采样自: yui , closure , kissy editor ,一般 button 分为四种 : button , toogle button , menu button , split button 。
展现层:
button
yui
kissy editor
toogle button
yui
kissy editor
menu button
yui
kissy editor
split button
yui
kissy editor
TODO
实现难点:
1. 抽象,组件架构 . ( YUI , closure ,kissy TODO)
2.键盘鼠标互操作性 . ( YUI , closure , kissy TODO)
3. wai-aria fully support ( YUI , closure , kissy TODO)
3.1 Aria 属性与组件状态同步
3.2 http://www.w3.org/TR/wai-aria-practices/