slackgmailskypefacebook-workplaceoutlookemailmicrosoft-teamsdiscordmessengercustom-servicesmacoslinuxwindowsinboxwhatsappicloudtweetdeckhipchattelegramhangouts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
579 B
25 lines
579 B
9 years ago
|
/** */
|
||
|
Ext.define('Ext.aria.tip.QuickTip', {
|
||
|
override: 'Ext.tip.QuickTip',
|
||
|
|
||
|
showByTarget: function(targetEl) {
|
||
|
var me = this,
|
||
|
target, size, xy, x, y;
|
||
|
|
||
|
target = me.targets[targetEl.id];
|
||
|
|
||
|
if (!target) {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
me.activeTarget = target;
|
||
|
me.activeTarget.el = Ext.get(targetEl).dom;
|
||
|
me.anchor = me.activeTarget.anchor;
|
||
|
|
||
|
size = targetEl.getSize();
|
||
|
xy = targetEl.getXY();
|
||
|
|
||
|
me.showAt([ xy[0], xy[1] + size.height ]);
|
||
|
}
|
||
|
});
|