<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>scrollend jQuery Event</title><link>https://community.telligent.com/community/13/w/api-documentation/75754/scrollend-jquery-event</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>scrollend jQuery Event</title><link>https://community.telligent.com/community/13/w/api-documentation/75754/scrollend-jquery-event</link><pubDate>Fri, 08 Mar 2024 17:51:24 GMT</pubDate><guid isPermaLink="false">0e1447c8-ec97-49f5-9321-ce4ac03c04e2</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75754/scrollend-jquery-event#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:24&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.event.special.scrollend&lt;/h3&gt;
&lt;p&gt;The scrollend event is raised when scrolling near the end of the window or scrollable container element.&lt;/p&gt;
&lt;p&gt;This is commonly useful for enabling endless scrolling interfaces.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;// handle the &amp;#39;scrollend&amp;#39; event on an entire document
$(document).on(&amp;#39;scrollend&amp;#39;, function() {
    // handle event
});

// handle the &amp;#39;scrollend&amp;#39; event of a vertically-overflowing div
$(&amp;#39;#SomeOverflowingDiv&amp;#39;).on(&amp;#39;scrollend&amp;#39;, function() {
    // handle event
});

// handle the &amp;#39;scrollend&amp;#39; event on an entire document with custom parameters
$(document).on(&amp;#39;scrollend&amp;#39;, {
    padding: 150,  // distance from the top at which &amp;#39;scrollend&amp;#39; is raised
    delay: 250,    // frequency to check scroll position during a scroll
    initialLoadAttempts: 10,   // times `scrollend` is tested for and raised after the page first loads
    initialLoadDelay: 1000     // initial load delay
}, function() {
    // handle event
});
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; When performing an asynchronous request on a &lt;code&gt;scrolltop&lt;/code&gt; or &lt;code&gt;scrollend&lt;/code&gt; event, a flag should be set to block subsequent requests until the current request is complete.&lt;/p&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>