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.
34 lines
592 B
34 lines
592 B
/** |
|
* guy |
|
* 由一个元素切换到另一个元素的行为 |
|
* @class BI.Action |
|
* @extends BI.OB |
|
* @abstract |
|
*/ |
|
import OB from "../3.ob"; |
|
export default class Action extends OB { |
|
props = { |
|
src: null, |
|
tar: null |
|
}; |
|
|
|
actionPerformed(src, tar, callback) { |
|
|
|
} |
|
|
|
actionBack(tar, src, callback) { |
|
|
|
} |
|
} |
|
|
|
BI.ActionFactory = { |
|
createAction: function (key, options) { |
|
var action; |
|
switch (key) { |
|
case "show": |
|
action = BI.ShowAction; |
|
break; |
|
} |
|
return new action(options); |
|
} |
|
};
|
|
|