fineui是帆软报表和BI产品线所使用的前端框架。
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.
 
 
 

26 lines
600 B

import { extend, shortcut } from "@/core";
import { IconButton } from "@/base";
/**
* 十字型的树节点
* @class CheckingMarkNode
* @extends IconButton
*/
@shortcut()
export class CheckingMarkNode extends IconButton {
static xtype = "bi.checking_mark_node";
_defaultConfig() {
return extend(super._defaultConfig(...arguments), {});
}
setSelected(v) {
super.setSelected(...arguments);
if (v === true) {
this.element.addClass("check-mark-font");
} else {
this.element.removeClass("check-mark-font");
}
}
}