📄 mui.text.js
字号:
if(!window["MUI"]) window["MUI"]={};
MUI.Label = new Class({
initialize:function(el){
var myel = $($pick(el, document.createElement("span")));
$extend(myel, MUI.Label.prototype);
return myel;
},
setText:function(text){
this.innerHTML = text;
//this.appendText(text);
this.fireEvent("change");
return this;
},
getText:function(){
return this.firstChild.data;
}
});
MUI.Input = MUI.Label.extend({
initialize:function(){
myel = new Element("input", {"type":"text"});
$extend(myel, MUI.Input.prototype);
return myel;
},
setText:function(text){
this.value = text;
this.fireEvent("change");
return this;
},
getText:function(){
return this.value;
}
});
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -