Browse Source

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

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

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

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

Loading…
Cancel
Save