Browse Source

Pull request #1442: DEC-14674 feat: iframe新增EVENT_LOADED事件

Merge in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '654605fccce3b2199c88122a8213de2ce7d2dafa':
  DEC-14674 feat: iframe新增EVENT_LOADED事件
es6
parent
commit
23567281fc
  1. 1
      changelog.md
  2. 5
      src/base/single/iframe/iframe.js

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2020-08)
- bi.iframe新增EVENT_LOADED事件
- 修复了searcher在允许搜索的情况下输入空格直接退出搜索的问题
- 修复了复选下拉系列'点按空格添加完全匹配项'添加的是显示值而非实际值的问题
- search_text_value_combo支持水印

5
src/base/single/iframe/iframe.js

@ -19,11 +19,14 @@ BI.Iframe = BI.inherit(BI.Single, {
},
_init: function () {
var o = this.options;
var self = this, o = this.options;
o.attributes.frameborder = "0";
o.attributes.src = o.src;
o.attributes.name = o.name;
BI.Iframe.superclass._init.apply(this, arguments);
this.element.on("load", function () {
self.fireEvent("EVENT_LOADED");
});
},
setSrc: function (src) {

Loading…
Cancel
Save