X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Tip3.html diff --git a/docs/source/Tip3.html b/docs/source/Tip3.html index 93eeedee..1cfc7bf9 100644 --- a/docs/source/Tip3.html +++ b/docs/source/Tip3.html @@ -15,15 +15,12 @@
-/** - * @class Ext.tip.Tip +/** + * @class Ext.tip.Tip * @extends Ext.panel.Panel * This is the base class for {@link Ext.tip.QuickTip} and {@link Ext.tip.ToolTip} that provides the basic layout and * positioning that all tip-based classes require. This class can be used directly for simple, statically-positioned * tips that are displayed programmatically, or it can be extended to provide custom tip implementations. - * @constructor - * Create a new Tip - * @param {Object} config The configuration options * @xtype tip */ Ext.define('Ext.tip.Tip', { @@ -80,6 +77,23 @@ Ext.define('Ext.tip.Tip', { focusOnToFront: false, componentLayout: 'tip', + /** + * @cfg {String} closeAction + * <p>The action to take when the close header tool is clicked: + * <div class="mdetail-params"><ul> + * <li><b><code>'{@link #destroy}'</code></b> : <div class="sub-desc"> + * {@link #destroy remove} the window from the DOM and {@link Ext.Component#destroy destroy} + * it and all descendant Components. The window will <b>not</b> be available to be + * redisplayed via the {@link #show} method. + * </div></li> + * <li><b><code>'{@link #hide}'</code></b> : <b>Default</b><div class="sub-desc"> + * {@link #hide} the window by setting visibility to hidden and applying negative offsets. + * The window will be available to be redisplayed via the {@link #show} method. + * </div></li> + * </ul></div> + * <p><b>Note:</b> This behavior has changed! setting *does* affect the {@link #close} method + * which will invoke the approriate closeAction. + */ closeAction: 'hide', ariaRole: 'tooltip',