<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>resized jQuery Event</title><link>https://community.telligent.com/community/11/w/api-documentation/65161/resized-jquery-event</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>resized jQuery Event</title><link>https://community.telligent.com/community/11/w/api-documentation/65161/resized-jquery-event</link><pubDate>Tue, 19 Nov 2019 20:27:36 GMT</pubDate><guid isPermaLink="false">eff5bffa-757a-4cca-9e11-0d55f4a7cb7d</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/65161/resized-jquery-event#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:27:36&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_event_special_resized" name="jQuery_event_special_resized"&gt;&lt;/a&gt;jQuery.event.special.resized&lt;/h3&gt;
&lt;p&gt;Throttled resize event, raised after resizing has completed&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(window).on(&amp;#39;resized&amp;#39;, function(e, dimensions){
    // handle event...
    console.log(&amp;#39;changed dimensions&amp;#39;);
    console.log(&amp;#39;old width: &amp;#39; + dimensions.oldWidth);
    console.log(&amp;#39;new width: &amp;#39; + dimensions.newWidth);
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;a id="Data_on_the_event" name="Data_on_the_event"&gt;&lt;/a&gt;Data on the event&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;oldWidth&lt;/code&gt;: pixel width prior to the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;oldHeight&lt;/code&gt;: pixel height prior to the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;oldScrollWidth&lt;/code&gt;: pixel scroll width prior to the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;oldScrollHeight&lt;/code&gt;: pixel scroll height prior to the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;newWidth&lt;/code&gt;: pixel width after the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;newHeight&lt;/code&gt;: pixel height after the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;newScrollWidth&lt;/code&gt;: pixel scroll width after the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;li&gt;&lt;code&gt;newScrollHeight&lt;/code&gt;: pixel scroll height after the &lt;code&gt;resized&lt;/code&gt; event&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Options" name="Options"&gt;&lt;/a&gt;Options&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;// throttle duration in ms
$.event.special.resized.defaults = 150
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>