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.

35 lines
672 B

8 years ago
BI.BehaviorFactory = {
7 years ago
createBehavior: function (key, options) {
8 years ago
var behavior;
7 years ago
switch (key) {
8 years ago
case "highlight":
behavior = BI.HighlightBehavior;
break;
case "redmark":
behavior = BI.RedMarkBehavior;
break;
}
return new behavior(options);
}
7 years ago
};
8 years ago
/**
* guy
* 行为控件
* @class BI.Behavior
* @extends BI.OB
*/
import OB from "../3.ob";
export default class Behavior extends OB {
_defaultConfig() {
return BI.extend(super._defaultConfig(arguments), {
rule: () => true
8 years ago
});
}
8 years ago
doBehavior() {
8 years ago
}
}