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.
9 lines
323 B
9 lines
323 B
/**
|
|
* 封装事件,便于使用上下文this,和便于解除事件时使用
|
|
* @protected
|
|
* @param {Object} obj 对象
|
|
* @param {String} action 事件名称
|
|
* @return {Function} 返回事件处理函数
|
|
*/
|
|
declare function wrapBehavior(obj: object, action: string): Function;
|
|
export default wrapBehavior;
|
|
|