-
15 Feb 2013 1:10 AM #1
Ext.tip.QuickTipManager target does not accept el anymore.
Ext.tip.QuickTipManager target does not accept el anymore.
Hi,
Please paste following code snippet to 'CodeEditor' of the ExtJS 4.2 API doc.
This code does not show the quicktip with ExtJS 4.2 and ExtJS 4.1.3 although it works well with ExtJS 4.1.1.
Seems like ExtJS 4.2 accepts only 'id' property as target.
Code:// Init the singleton. Any tag-based quick tips will start working. Ext.tip.QuickTipManager.init(); // Apply a set of config properties to the singleton Ext.apply(Ext.tip.QuickTipManager.getQuickTip(), { maxWidth: 200, minWidth: 100, showDelay: 50 // Show 50ms after entering target }); // Create a small panel to add a quick tip to Ext.create('Ext.container.Container', { id: 'quickTipContainer', width: 200, height: 150, style: { backgroundColor:'#000000' }, renderTo: Ext.getBody() }); var con = Ext.ComponentQuery.query('container#quickTipContainer')[0]; console.log(con); // Manually register a quick tip for a specific element Ext.tip.QuickTipManager.register({ target:con.getEl(), title: 'My Tooltip', text: 'This tooltip was added in code', width: 100, dismissDelay: 10000 // Hide after 10 seconds hover })
-
17 Feb 2013 8:48 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,656
- Vote Rating
- 435
Thanks for the report! I have opened a bug in our bug tracker.
You found a bug! We've classified it as
EXTJSIV-8703
.
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.


Reply With Quote