Browse Source

KERNEL-12202 fix:加一个 beforeClick 的注释

es6
treecat 2 years ago
parent
commit
53bc760115
  1. 3
      src/base/single/button/button.basic.js

3
src/base/single/button/button.basic.js

@ -345,6 +345,9 @@ BI.BasicButton = BI.inherit(BI.Single, {
} }
}, },
/**
* 子类可以得写这个方法如果返回为 true则可以阻止 handler 的触发
*/
beforeClick: function () { beforeClick: function () {
}, },

Loading…
Cancel
Save