下拉按钮

概述和示例

使用按钮代替下拉菜单,设置class .ks-menu-button 和合适的标签。

Action
Action
Another action
Something else here
Action
Action
Another action
Something else here
Danger
Action
Another action
Something else here
Warning
Action
Another action
Something else here
Success
Action
Another action
Something else here
Info
Action
Another action
Something else here
Inverse
Action
Another action
Something else here

示例

类似于按钮组,我们使用通用的按钮标签和一些重新定义了的样式来支持kissy的DPL插件.

可以适用于各种尺寸的按钮

下拉按钮适用于多种尺寸大小. 你可以定义 .ks-button-large, .ks-button-small, 或者 .ks-button-mini三种类型。

Large button
Action
Another action
Something else here
Small button
Action
Another action
Something else here
Mini button
Action
Another action
Something else here