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.
|
|
/*This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License UsageThis file may be used under the terms of the GNU General Public License version 3.0 aspublished by the Free Software Foundation and appearing in the file LICENSE included in thepackaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales departmentat http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25*/Ext.data.JsonP.Ext_QuickTips({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Files</h4><div class='dependency'><a href='source/QuickTips.html#Ext-QuickTips' target='_blank'>QuickTips.js</a></div></pre><div class='doc-contents'><p>Provides attractive and customizable tooltips for any element. The QuickTips\nsingleton is used to configure and manage tooltips globally for multiple elements\nin a generic manner. To create individual tooltips with maximum customizability,\nyou should consider either <a href=\"#!/api/Ext.Tip\" rel=\"Ext.Tip\" class=\"docClass\">Ext.Tip</a> or <a href=\"#!/api/Ext.ToolTip\" rel=\"Ext.ToolTip\" class=\"docClass\">Ext.ToolTip</a>.</p>\n\n\n<p>Quicktips can be configured via tag attributes directly in markup, or by\nregistering quick tips programmatically via the <a href=\"#!/api/Ext.QuickTips-method-register\" rel=\"Ext.QuickTips-method-register\" class=\"docClass\">register</a> method.</p>\n\n\n<p>The singleton's instance of <a href=\"#!/api/Ext.QuickTip\" rel=\"Ext.QuickTip\" class=\"docClass\">Ext.QuickTip</a> is available via\n<a href=\"#!/api/Ext.QuickTips-method-getQuickTip\" rel=\"Ext.QuickTips-method-getQuickTip\" class=\"docClass\">getQuickTip</a>, and supports all the methods, and all the all the\nconfiguration properties of <a href=\"#!/api/Ext.QuickTip\" rel=\"Ext.QuickTip\" class=\"docClass\">Ext.QuickTip</a>. These settings will apply to all\ntooltips shown by the singleton.</p>\n\n\n<p>Below is the summary of the configuration properties which can be used.\nFor detailed descriptions see the config options for the <a href=\"#!/api/Ext.QuickTip\" rel=\"Ext.QuickTip\" class=\"docClass\">QuickTip</a> class</p>\n\n\n<p><b>QuickTips singleton configs (all are optional)</b></p>\n\n\n<div class=\"mdetail-params\"><ul><li>dismissDelay</li>\n<li>hideDelay</li>\n<li>maxWidth</li>\n<li>minWidth</li>\n<li>showDelay</li>\n<li>trackMouse</li></ul></div>\n\n\n<p><b>Target element configs (optional unless otherwise noted)</b></p>\n\n\n<div class=\"mdetail-params\"><ul><li>autoHide</li>\n<li>cls</li>\n<li>dismissDelay (overrides singleton value)</li>\n<li>target (required)</li>\n<li>text (required)</li>\n<li>title</li>\n<li>width</li></ul></div>\n\n\n<p>Here is an example showing how some of these config options could be used:</p>\n\n\n<pre><code>// Init the singleton. Any tag-based quick tips will start working.\n<a href=\"#!/api/Ext.QuickTips-method-init\" rel=\"Ext.QuickTips-method-init\" class=\"docClass\">Ext.QuickTips.init</a>();\n\n// Apply a set of config properties to the singleton\n<a href=\"#!/api/Ext-method-apply\" rel=\"Ext-method-apply\" class=\"docClass\">Ext.apply</a>(<a href=\"#!/api/Ext.QuickTips-method-getQuickTip\" rel=\"Ext.QuickTips-method-getQuickTip\" class=\"docClass\">Ext.QuickTips.getQuickTip</a>(), {\n maxWidth: 200,\n minWidth: 100,\n showDelay: 50, // Show 50ms after entering target\n trackMouse: true\n});\n\n// Manually register a quick tip for a specific element\n<a href=\"#!/api/Ext.QuickTips-method-register\" rel=\"Ext.QuickTips-method-register\" class=\"docClass\">Ext.QuickTips.register</a>({\n target: 'my-div',\n title: 'My Tooltip',\n text: 'This tooltip was added in code',\n width: 100,\n dismissDelay: 10000 // Hide after 10 seconds hover\n});\n</code></pre>\n\n\n<p>To register a quick tip in markup, you simply add one or more of the valid QuickTip attributes prefixed with\nthe <b>ext:</b> namespace. The HTML element itself is automatically set as the quick tip target. Here is the summary\nof supported attributes (optional unless otherwise noted):</p>\n\n\n<ul><li><b>hide</b>: Specifying \"user\" is equivalent to setting autoHide = false. Any other value will be the\nsame as autoHide = true.</li>\n<li><b>qclass</b>: A CSS class to be applied to the quick tip (equivalent to the 'cls' target element config).</li>\n<li><b>qtip (required)</b>: The quick tip text (equivalent to the 'text' target element config)
|