UNPKG

408 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3/**
4 * 获取封装的事件
5 * @protected
6 * @param {Object} obj 对象
7 * @param {String} action 事件名称
8 * @return {Function} 返回事件处理函数
9 */
10function getWrapBehavior(obj, action) {
11 return obj['_wrap_' + action];
12}
13exports.default = getWrapBehavior;
14//# sourceMappingURL=get-wrap-behavior.js.map
\No newline at end of file