採樣自: 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/