Browse Source

Merge pull request #90 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit 'ff23380b373e595b0f65d00e23cabf400cc5a342':
  update
  给iframe加方法
es6
windy 8 years ago
parent
commit
68539cf526
  1. 9
      bi/base.js
  2. 9
      docs/base.js
  3. 9
      src/base/single/iframe/iframe.js

9
bi/base.js

@ -18523,6 +18523,15 @@ BI.Iframe = BI.inherit(BI.Single, {
return this.options.src;
},
setName: function (name) {
this.options.name = name;
this.element.attr("name", name);
},
getName: function () {
return this.options.name;
},
getWidth: function () {
return this.options.width
},

9
docs/base.js

@ -18523,6 +18523,15 @@ BI.Iframe = BI.inherit(BI.Single, {
return this.options.src;
},
setName: function (name) {
this.options.name = name;
this.element.attr("name", name);
},
getName: function () {
return this.options.name;
},
getWidth: function () {
return this.options.width
},

9
src/base/single/iframe/iframe.js

@ -30,6 +30,15 @@ BI.Iframe = BI.inherit(BI.Single, {
return this.options.src;
},
setName: function (name) {
this.options.name = name;
this.element.attr("name", name);
},
getName: function () {
return this.options.name;
},
getWidth: function () {
return this.options.width
},

Loading…
Cancel
Save