Browse Source

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

* commit '49c485dc5d12584154637d466ddefd2d9adc7c80':
  codeeditor加个focus方法
es6
windy 8 years ago
parent
commit
9d771e0fdf
  1. 4
      src/base/single/editor/editor.code.js

4
src/base/single/editor/editor.code.js

@ -142,6 +142,10 @@ BI.CodeEditor = BI.inherit(BI.Single, {
this.editor.focus(); this.editor.focus();
}, },
blur: function () {
this.editor.getInputField().blur();
},
setStyle: function (style) { setStyle: function (style) {
this.style = style; this.style = style;
this.element.css(style); this.element.css(style);

Loading…
Cancel
Save