Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / ToolTip.html
index b5ed2ba..7d6c7fa 100644 (file)
@@ -1,4 +1,21 @@
-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-tip.ToolTip-method-constructor'><span id='Ext-tip.ToolTip'>/**
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>The source code</title>
+  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <style type="text/css">
+    .highlight { display: block; background-color: #ddd; }
+  </style>
+  <script type="text/javascript">
+    function highlight() {
+      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+    }
+  </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+  <pre class="prettyprint lang-js"><span id='Ext-tip-ToolTip-method-constructor'><span id='Ext-tip-ToolTip'>/**
 </span></span> * @class Ext.tip.ToolTip
  * @extends Ext.tip.Tip
  * 
@@ -85,7 +102,7 @@ Ext.define('Ext.tip.ToolTip', {
     extend: 'Ext.tip.Tip',
     alias: 'widget.tooltip',
     alternateClassName: 'Ext.ToolTip',
-<span id='Ext-tip.ToolTip-property-triggerElement'>    /**
+<span id='Ext-tip-ToolTip-property-triggerElement'>    /**
 </span>     * When a ToolTip is configured with the &lt;code&gt;{@link #delegate}&lt;/code&gt;
      * option to cause selected child elements of the &lt;code&gt;{@link #target}&lt;/code&gt;
      * Element to each trigger a seperate show event, this property is set to
@@ -93,50 +110,50 @@ Ext.define('Ext.tip.ToolTip', {
      * @type DOMElement
      * @property triggerElement
      */
-<span id='Ext-tip.ToolTip-cfg-target'>    /**
+<span id='Ext-tip-ToolTip-cfg-target'>    /**
 </span>     * @cfg {Mixed} target The target HTMLElement, Ext.core.Element or id to monitor
      * for mouseover events to trigger showing this ToolTip.
      */
-<span id='Ext-tip.ToolTip-cfg-autoHide'>    /**
+<span id='Ext-tip-ToolTip-cfg-autoHide'>    /**
 </span>     * @cfg {Boolean} autoHide True to automatically hide the tooltip after the
      * mouse exits the target element or after the &lt;code&gt;{@link #dismissDelay}&lt;/code&gt;
      * has expired if set (defaults to true).  If &lt;code&gt;{@link #closable} = true&lt;/code&gt;
      * a close tool button will be rendered into the tooltip header.
      */
-<span id='Ext-tip.ToolTip-cfg-showDelay'>    /**
+<span id='Ext-tip-ToolTip-cfg-showDelay'>    /**
 </span>     * @cfg {Number} showDelay Delay in milliseconds before the tooltip displays
      * after the mouse enters the target element (defaults to 500)
      */
     showDelay: 500,
-<span id='Ext-tip.ToolTip-cfg-hideDelay'>    /**
+<span id='Ext-tip-ToolTip-cfg-hideDelay'>    /**
 </span>     * @cfg {Number} hideDelay Delay in milliseconds after the mouse exits the
      * target element but before the tooltip actually hides (defaults to 200).
      * Set to 0 for the tooltip to hide immediately.
      */
     hideDelay: 200,
-<span id='Ext-tip.ToolTip-cfg-dismissDelay'>    /**
+<span id='Ext-tip-ToolTip-cfg-dismissDelay'>    /**
 </span>     * @cfg {Number} dismissDelay Delay in milliseconds before the tooltip
      * automatically hides (defaults to 5000). To disable automatic hiding, set
      * dismissDelay = 0.
      */
     dismissDelay: 5000,
-<span id='Ext-tip.ToolTip-cfg-mouseOffset'>    /**
+<span id='Ext-tip-ToolTip-cfg-mouseOffset'>    /**
 </span>     * @cfg {Array} mouseOffset An XY offset from the mouse position where the
      * tooltip should be shown (defaults to [15,18]).
      */
-<span id='Ext-tip.ToolTip-cfg-trackMouse'>    /**
+<span id='Ext-tip-ToolTip-cfg-trackMouse'>    /**
 </span>     * @cfg {Boolean} trackMouse True to have the tooltip follow the mouse as it
      * moves over the target element (defaults to false).
      */
     trackMouse: false,
-<span id='Ext-tip.ToolTip-cfg-anchor'>    /**
+<span id='Ext-tip-ToolTip-cfg-anchor'>    /**
 </span>     * @cfg {String} anchor If specified, indicates that the tip should be anchored to a
      * particular side of the target element or mouse pointer (&quot;top&quot;, &quot;right&quot;, &quot;bottom&quot;,
      * or &quot;left&quot;), with an arrow pointing back at the target or mouse pointer. If
      * {@link #constrainPosition} is enabled, this will be used as a preferred value
      * only and may be flipped as needed.
      */
-<span id='Ext-tip.ToolTip-cfg-anchorToTarget'>    /**
+<span id='Ext-tip-ToolTip-cfg-anchorToTarget'>    /**
 </span>     * @cfg {Boolean} anchorToTarget True to anchor the tooltip to the target
      * element, false to anchor it relative to the mouse coordinates (defaults
      * to true).  When &lt;code&gt;anchorToTarget&lt;/code&gt; is true, use
@@ -145,7 +162,7 @@ Ext.define('Ext.tip.ToolTip', {
      * &lt;code&gt;{@link #anchorPosition}&lt;/code&gt; instead to control alignment.
      */
     anchorToTarget: true,
-<span id='Ext-tip.ToolTip-cfg-anchorOffset'>    /**
+<span id='Ext-tip-ToolTip-cfg-anchorOffset'>    /**
 </span>     * @cfg {Number} anchorOffset A numeric pixel value used to offset the
      * default position of the anchor arrow (defaults to 0).  When the anchor
      * position is on the top or bottom of the tooltip, &lt;code&gt;anchorOffset&lt;/code&gt;
@@ -154,7 +171,7 @@ Ext.define('Ext.tip.ToolTip', {
      * a vertical offset.
      */
     anchorOffset: 0,
-<span id='Ext-tip.ToolTip-cfg-delegate'>    /**
+<span id='Ext-tip-ToolTip-cfg-delegate'>    /**
 </span>     * @cfg {String} delegate &lt;p&gt;Optional. A {@link Ext.DomQuery DomQuery}
      * selector which allows selection of individual elements within the
      * &lt;code&gt;{@link #target}&lt;/code&gt; element to trigger showing and hiding the
@@ -216,7 +233,7 @@ myGrid.on('render', function(grid) {
         me.anchorEl.setStyle('z-index', zIndex + 1).setVisibilityMode(Ext.core.Element.DISPLAY);
     },
 
-<span id='Ext-tip.ToolTip-method-setTarget'>    /**
+<span id='Ext-tip-ToolTip-method-setTarget'>    /**
 </span>     * Binds this ToolTip to the specified element. The tooltip will be displayed when the mouse moves over the element.
      * @param {Mixed} t The Element, HtmlElement, or ID of an element to bind to
      */
@@ -499,7 +516,7 @@ myGrid.on('render', function(grid) {
         }
     },
 
-<span id='Ext-tip.ToolTip-method-hide'>    /**
+<span id='Ext-tip-ToolTip-method-hide'>    /**
 </span>     * Hides this tooltip if visible.
      */
     hide: function() {
@@ -513,7 +530,7 @@ myGrid.on('render', function(grid) {
         delete me.triggerElement;
     },
 
-<span id='Ext-tip.ToolTip-method-show'>    /**
+<span id='Ext-tip-ToolTip-method-show'>    /**
 </span>     * Shows this tooltip at the current event target XY position.
      */
     show: function() {
@@ -681,4 +698,6 @@ myGrid.on('render', function(grid) {
         this.callParent();
     }
 });
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>