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.
14 lines
408 B
14 lines
408 B
|
4 months ago
|
"use strict";
|
||
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
|
/**
|
||
|
|
* 获取封装的事件
|
||
|
|
* @protected
|
||
|
|
* @param {Object} obj 对象
|
||
|
|
* @param {String} action 事件名称
|
||
|
|
* @return {Function} 返回事件处理函数
|
||
|
|
*/
|
||
|
|
function getWrapBehavior(obj, action) {
|
||
|
|
return obj['_wrap_' + action];
|
||
|
|
}
|
||
|
|
exports.default = getWrapBehavior;
|
||
|
|
//# sourceMappingURL=get-wrap-behavior.js.map
|