📄 sample.js
字号:
Ext.onReady(function(){
// var tip = new Ext.Tip({
// width:400,
// html:"tip content",
// title:"tip title"
// });
// var el = Ext.get("tip_div");
//// tip.showAt([200,200]);
//
// el.on("mouseover",function(e){
// tip.showBy(el);
// });
// el.on("mouseout",function(e){
// tip.hide();
// })
// var ttip = new Ext.ToolTip({
// width:400,
// html:"tool tip content",
// title:"tool tip title",
// trackMouse:true,
// target:"tip_div"
// });
//
// var ttip2 = new Ext.ToolTip({
// width:400,
// html:"tool tip content",
// title:"tool tip title",
// trackMouse:true,
// target:"tip_div2"
// });
//
// var ttip3 = new Ext.ToolTip({
// width:400,
// html:"tool tip content",
// title:"tool tip title",
// trackMouse:true,
// target:"tip_div3"
// });
Ext.QuickTips.init();
// var q = Ext.QuickTips.getQuickTip();
// q.register({
// target:"tip_div",
// text:"你好"
// });
// q.register({
// target:"tip_div2",
// text:"你好2"
// });
// q.register({
// target:"tip_div3",
// text:"你好3"
// });
})
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -