<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic infoWindow mouse out event ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505973#M47021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was wondering if there is a way to assign a mouse out event to a maps infoWindow ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added a feature layer to a map and have it so that when a user hovers over one of the features, the infoWindow pops up. Would like to make it so that the infoWindow is hidden when the user 'mousesOut' of the infoWindow.&amp;nbsp; Have tried&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.infoWindow.on("mouse-out", function(evt){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.hide();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No javascript error but it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2013 09:28:48 GMT</pubDate>
    <dc:creator>GISTeam2</dc:creator>
    <dc:date>2013-11-14T09:28:48Z</dc:date>
    <item>
      <title>infoWindow mouse out event ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505973#M47021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was wondering if there is a way to assign a mouse out event to a maps infoWindow ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added a feature layer to a map and have it so that when a user hovers over one of the features, the infoWindow pops up. Would like to make it so that the infoWindow is hidden when the user 'mousesOut' of the infoWindow.&amp;nbsp; Have tried&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.infoWindow.on("mouse-out", function(evt){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.hide();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No javascript error but it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 09:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505973#M47021</guid>
      <dc:creator>GISTeam2</dc:creator>
      <dc:date>2013-11-14T09:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: infoWindow mouse out event ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505974#M47022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi AJ111, welcome to the forums!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i did a quick check and confirmed in the API reference that the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/infowindow.html"&gt;infoWindow&lt;/A&gt;&lt;SPAN&gt; class doesn't have a 'mouse-out' event, but rather only 'show' and 'hide'.&amp;nbsp; this explains why you are having trouble wiring it up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 16:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505974#M47022</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-11-14T16:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: infoWindow mouse out event ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505975#M47023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try to use dojo/on as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;on(map.infoWindow.domNode, "mouseout", function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.hide();
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505975#M47023</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2021-12-11T22:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: infoWindow mouse out event ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505976#M47024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the replies..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jason , l tried something similar by extending the InfoWindowBase class , as in the &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/widget_extendInfowindow.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/widget_extendInfowindow.html&lt;/A&gt;&lt;SPAN&gt; example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;on(this.domNode, "mouseout", lang.hitch(this, function(){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.hide(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to the InfoWindowBase class in an attempt to add the mouseout event. After doing this an event fires in my page but not with the hoped for results - the infoWindow 'hides' but not when i want it to, sort of more of a mouseover effect than a mouseout. I will try and learn more about domNodes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 06:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/infowindow-mouse-out-event/m-p/505976#M47024</guid>
      <dc:creator>GISTeam2</dc:creator>
      <dc:date>2013-11-15T06:44:47Z</dc:date>
    </item>
  </channel>
</rss>

