ExtJs源码分析与学习—Ext.ToolTip应用
源码待分析,先粘一例子备用
?
//要显示提示信息的目标id var targetId = this.titleContext.first().first().id;new Ext.ToolTip({ baseCls: 'z-workflow-tip',//自定义样式 target: targetId, html: str, maxWidth: 600,//最大宽度 floating: {//渲染提示信息效果 shadow: false, shim: false, useDisplay: true, constrain: false } });?