# Wijmo.Tooltip

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								Tooltip Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Provides a pop-up window that displays additional information about
									elements on the page.</p>
								</div>
								<p>The <a href="wijmo.tooltip.html">Tooltip</a> class can be used in two modes:</p>
								<p><strong>Automatic Mode:</strong> Use the <a href="wijmo.tooltip.html#settooltip">setTooltip</a> method to connect
									the <a href="wijmo.tooltip.html">Tooltip</a> to one or more elements on the page. The <a href="wijmo.tooltip.html">Tooltip</a>
									will automatically monitor events and display the tooltips when the
									user performs actions that trigger the tooltip.
								For example:</p>
								<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { Tooltip } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo'</span>;
<span class="hljs-keyword">let</span> tt = <span class="hljs-keyword">new</span> Tooltip();
tt.setTooltip(<span class="hljs-string">'#menu'</span>, <span class="hljs-string">'Select commands.'</span>);
tt.setTooltip(<span class="hljs-string">'#tree'</span>, <span class="hljs-string">'Explore the hierarchy.'</span>);
tt.setTooltip(<span class="hljs-string">'#chart'</span>, <span class="hljs-string">'#idChartTooltip'</span>);</code></pre>
								<p><strong>Manual Mode:</strong> The caller is responsible for showing and hiding
								the tooltip using the <a href="wijmo.tooltip.html#show">show</a> and <a href="wijmo.tooltip.html#hide">hide</a> methods. For example:</p>
								<pre><code class="language-typescript"><span class="hljs-keyword">import</span> { Tooltip } <span class="hljs-keyword">from</span> <span class="hljs-string">'@mescius/wijmo'</span>;
<span class="hljs-keyword">let</span> tt = <span class="hljs-keyword">new</span> Tooltip();
element.addEventListener(<span class="hljs-string">'click'</span>, <span class="hljs-function"><span class="hljs-params">()</span> =&gt;</span> {
    <span class="hljs-keyword">if</span> (tt.isVisible) {
        tt.hide();
    } <span class="hljs-keyword">else</span> {
        tt.show(element, <span class="hljs-string">'This is an important element!'</span>);
    }
});</code></pre>
								<p>The example below shows how you can use the <a href="wijmo.tooltip.html">Tooltip</a> class
								to add Excel-style notes to cells in a <a href="wijmo_grid.flexgrid.html">FlexGrid</a> control:</p>
								<p><a href="/wijmo/demos/Grid/CustomCells/CellNotes/purejs" target="_blank">Example</a></p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">Tooltip</span>
									<ul class="tsd-hierarchy">
										<li>
											<a href="wijmo_chart.charttooltip.html" class="tsd-signature-type">ChartTooltip</a>
										</li>
									</ul>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo.tooltip.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#cssclass" class="tsd-kind-icon">css<wbr>Class</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#gap" class="tsd-kind-icon">gap</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#hidedelay" class="tsd-kind-icon">hide<wbr>Delay</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#isanimated" class="tsd-kind-icon">is<wbr>Animated</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#iscontenthtml" class="tsd-kind-icon">is<wbr>Content<wbr>Html</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#isvisible" class="tsd-kind-icon">is<wbr>Visible</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#position" class="tsd-kind-icon">position</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#showatmouse" class="tsd-kind-icon">show<wbr>AtMouse</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#showdelay" class="tsd-kind-icon">show<wbr>Delay</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo.tooltip.html#trigger" class="tsd-kind-icon">trigger</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#dispose" class="tsd-kind-icon">dispose</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#gettooltip" class="tsd-kind-icon">get<wbr>Tooltip</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#hide" class="tsd-kind-icon">hide</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#onpopup" class="tsd-kind-icon">on<wbr>Popup</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#settooltip" class="tsd-kind-icon">set<wbr>Tooltip</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo.tooltip.html#show" class="tsd-kind-icon">show</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Events
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-event tsd-parent-kind-class"><a href="wijmo.tooltip.html#popup" class="tsd-kind-icon">popup</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Tooltip<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo.tooltip.html" class="tsd-signature-type">Tooltip</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo.tooltip.html">Tooltip</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>JavaScript object containing initialization data for the <a href="wijmo.tooltip.html">Tooltip</a>.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo.tooltip.html" class="tsd-signature-type">Tooltip</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="cssclass" class="tsd-anchor"></a>
								<h3>cssClass</h3>
								<div class="tsd-signature tsd-kind-icon">css<wbr>Class<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a CSS class name to add to the tooltip.</p>
									</div>
									<p>The default value for this property is an empty string.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="gap" class="tsd-anchor"></a>
								<h3>gap</h3>
								<div class="tsd-signature tsd-kind-icon">gap<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the distance between the tooltip and the target element.</p>
									</div>
									<p>The default value for the property is <strong>6</strong> pixels.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="hidedelay" class="tsd-anchor"></a>
								<h3>hideDelay</h3>
								<div class="tsd-signature tsd-kind-icon">hide<wbr>Delay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the delay, in milliseconds, before hiding the tooltip
										if the mouse remains over the element.</p>
									</div>
									<p>The default value for the property is <strong>zero</strong> milliseconds,
										which causes the tip to remain visible until the mouse moves
									away from the element.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isanimated" class="tsd-anchor"></a>
								<h3>isAnimated</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Animated<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether tooltips should use a
										fade-in animation when shown.</p>
									</div>
									<p>The default value for this property is <strong>false</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="iscontenthtml" class="tsd-anchor"></a>
								<h3>isContentHtml</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Content<wbr>Html<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the tooltip contents
										should be displayed as plain text or as HTML.</p>
									</div>
									<p>The default value for the property is <strong>true</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="isvisible" class="tsd-anchor"></a>
								<h3>isVisible</h3>
								<div class="tsd-signature tsd-kind-icon">is<wbr>Visible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets a value that determines whether the tooltip is currently visible.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="position" class="tsd-anchor"></a>
								<h3>position</h3>
								<div class="tsd-signature tsd-kind-icon">position<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo.popupposition.html" class="tsd-signature-type">PopupPosition</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the <a href="../enums/wijmo.popupposition.html">PopupPosition</a> where the tooltip should be
										displayed with respect to the owner element.</p>
									</div>
									<p>The default value for this property is <strong>PopupPosition.Above</strong>.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showatmouse" class="tsd-anchor"></a>
								<h3>showAtMouse</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>AtMouse<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets a value that determines whether the tooltip should be
										calculated based on the mouse position rather than the target element.</p>
									</div>
									<p>The default value for the property is <strong>false</strong>, which means
									the tooltip position is calculated based on the target element.</p>
									<p>The <a href="wijmo.tooltip.html#position">position</a> property is used to determine the tooltip
										position in respect to the target element or to the mouse
									position.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="showdelay" class="tsd-anchor"></a>
								<h3>showDelay</h3>
								<div class="tsd-signature tsd-kind-icon">show<wbr>Delay<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the delay, in milliseconds, before showing the tooltip
										after the mouse enters the target element.</p>
									</div>
									<p>The default value for the property is <strong>500</strong> milliseconds.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="trigger" class="tsd-anchor"></a>
								<h3>trigger</h3>
								<div class="tsd-signature tsd-kind-icon">trigger<span class="tsd-signature-symbol">:</span> <a href="../enums/wijmo.tooltiptrigger.html" class="tsd-signature-type">TooltipTrigger</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the <a href="../enums/wijmo.tooltiptrigger.html">TooltipTrigger</a> that determines how the tooltip should be
										triggered.</p>
									</div>
									<p>The default value for this property is <strong>TooltipTrigger.Hover</strong>.</p>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="dispose" class="tsd-anchor"></a>
								<h3>dispose</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">dispose<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Removes all tooltips associated with this <a href="wijmo.tooltip.html">Tooltip</a> instance.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="gettooltip" class="tsd-anchor"></a>
								<h3>getTooltip</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">get<wbr>Tooltip<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the tooltip content associated with a given element.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>element: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Element, element ID, or control that the tooltip explains.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span>
											<span class="tsd-signature-symbol"> | </span>
											<span class="tsd-signature-type">null</span>
										</h4>
										<p>Tooltip content associated with the given element.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="hide" class="tsd-anchor"></a>
								<h3>hide</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">hide<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Hides the tooltip if it is currently visible.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="onpopup" class="tsd-anchor"></a>
								<h3>onPopup</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">on<wbr>Popup<span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">: </span><a href="wijmo.tooltipeventargs.html" class="tsd-signature-type">TooltipEventArgs</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Raises the <a href="wijmo.tooltip.html#popup">popup</a> event.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>e: <a href="wijmo.tooltipeventargs.html" class="tsd-signature-type">TooltipEventArgs</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo.tooltipeventargs.html">TooltipEventArgs</a> that contains the event data.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="settooltip" class="tsd-anchor"></a>
								<h3>setTooltip</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">set<wbr>Tooltip<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, content<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span>, position<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo.popupposition.html" class="tsd-signature-type">PopupPosition</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Assigns tooltip content to a given element on the page.</p>
											</div>
											<p>The same tooltip may be used to display information for any number
												of elements on the page. To remove the tooltip from an element,
											call <a href="wijmo.tooltip.html#settooltip">setTooltip</a> and specify null for the content.</p>
											<p>To remove the tooltips for all elements, call the <a href="wijmo.tooltip.html#dispose">dispose</a> method.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>element: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Element, single element CSS selector, or control that the tooltip explains.</p>
												</div>
											</li>
											<li>
												<h5>content: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></h5>
												<div class="tsd-comment">
													<p>Tooltip content or ID of the element that contains the tooltip content.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> position: <a href="../enums/wijmo.popupposition.html" class="tsd-signature-type">PopupPosition</a></h5>
												<div class="tsd-comment">
													<p>Position where the tooltip should be displayed with respect to the owner element.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="show" class="tsd-anchor"></a>
								<h3>show</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">show<span class="tsd-signature-symbol">(</span>element<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, content<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, bounds<span class="tsd-signature-symbol">?: </span><a href="wijmo.rect.html" class="tsd-signature-type">Rect</a>, position<span class="tsd-signature-symbol">?: </span><a href="../enums/wijmo.popupposition.html" class="tsd-signature-type">PopupPosition</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Shows a tooltip with the specified content next to the specified element.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>element: <span class="tsd-signature-type">any</span></h5>
												<div class="tsd-comment">
													<p>Element, element ID, or control that the tooltip explains.</p>
												</div>
											</li>
											<li>
												<h5>content: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Tooltip content or ID of the element that contains the tooltip content.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> bounds: <a href="wijmo.rect.html" class="tsd-signature-type">Rect</a></h5>
												<div class="tsd-comment">
													<p>Optional parameter that defines the bounds of the area that the tooltip
													targets. If not provided, the element bounds are used.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> position: <a href="../enums/wijmo.popupposition.html" class="tsd-signature-type">PopupPosition</a></h5>
												<div class="tsd-comment">
													<p>Optional parameter that specifies the position of the tooltip
														with respect to the reference bounds. If provided, this value overrides the setting
													of the <a href="wijmo.tooltip.html#position">position</a> property.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Events</h2>
							<section class="tsd-panel tsd-member tsd-kind-event tsd-parent-kind-class">
								<a name="popup" class="tsd-anchor"></a>
								<h3>popup</h3>
								<div class="tsd-signature tsd-kind-icon">popup<span class="tsd-signature-symbol">:</span> <a href="wijmo.event.html" class="tsd-signature-type">Event</a><span class="tsd-signature-symbol">&lt;</span><a href="wijmo.tooltip.html" class="tsd-signature-type">Tooltip</a><span class="tsd-signature-symbol">, </span><a href="wijmo.tooltipeventargs.html" class="tsd-signature-type">TooltipEventArgs</a><span class="tsd-signature-symbol">&gt;</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Occurs before the tooltip content is displayed.</p>
									</div>
									<p>The event handler may customize the tooltip content or suppress
									the tooltip display by changing the event parameters.</p>
								</div>
							</section>
						</section>
					</div>