forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
682 B
24 lines
682 B
import { IconButton } from "../../../base/single/button/buttons/button.icon"; |
|
import { shortcut, extend } from "../../../core"; |
|
|
|
/** |
|
* 统一的trigger图标按钮 |
|
* |
|
* Created by GUY on 2015/9/16. |
|
* @class TriggerIconButton |
|
* @extends IconButton |
|
*/ |
|
@shortcut() |
|
export class TriggerIconButton extends IconButton { |
|
static xtype = "bi.trigger_icon_button"; |
|
static EVENT_CHANGE = IconButton.EVENT_CHANGE; |
|
|
|
_defaultConfig() { |
|
const conf = super._defaultConfig(arguments); |
|
|
|
return extend(conf, { |
|
baseCls: `${conf.baseCls || ""} bi-trigger-icon-button overflow-hidden`, |
|
extraCls: "pull-down-font", |
|
}); |
|
} |
|
}
|
|
|