Verint | Telligent Community
Verint | Telligent Community
  • Site
  • User
  • Site
  • Search
  • User
Verint Community 12.x
  • Verint Community
Verint Community 12.x
API Documentation scrollend jQuery Event
  • User Documentation
  • Ask the Community
  • API Documentation
  • Manager Training
  • Developer Training
  • Tags
  • More
  • Cancel
  • New
  • API Documentation
  • +In-Process API Documentation
  • +Plugin API Documentation
  • +REST API Documentation
  • -Widget, Theme, and Automation APIs
    • +Automation Events
    • -Client-side APIs
      • +Client Messages
      • +Composer Plugins
      • +JavaScript API Modules
      • -jQuery Events
        • doubletap jQuery Event
        • evolutionCodeEditorChange jQuery Event
        • evolutionCodeEditorReady jQuery Event
        • evolutionHtmlEditorReady jQuery Event
        • evolutionHtmlEditorSubmit jQuery Event
        • glowDelayedMouseEnter jQuery Event
        • glowDelayedMouseLeave jQuery Event
        • hashchange jQuery Event
        • mutate jQuery Event
        • orientationchange jQuery Event
        • pan jQuery Event
        • panend jQuery Event
        • panstart jQuery Event
        • pointerend jQuery Event
        • pointermove jQuery Event
        • pointerstart jQuery Event
        • quote jQuery Event
        • rendered jQuery Event
        • resized jQuery Event
        • scrollend jQuery Event
        • scrolltop jQuery Event
        • swipe jQuery Event
        • swipedown jQuery Event
        • swipeleft jQuery Event
        • swiperight jQuery Event
        • swipeup jQuery Event
        • tap jQuery Event
        • taphold jQuery Event
        • wake jQuery Event
      • +jQuery Plugins
      • +UI Components
    • +Dynamic Configuration
    • +LESS Functions
    • +Script API Types
    • +Script APIs

scrollend jQuery Event


jQuery.event.special.scrollend

The scrollend event is raised when scrolling near the end of the window or scrollable container element.

This is commonly useful for enabling endless scrolling interfaces.

Usage

// handle the 'scrollend' event on an entire document
$(document).on('scrollend', function() {
    // handle event
});

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

// handle the 'scrollend' event on an entire document with custom parameters
$(document).on('scrollend', {
    padding: 150,  // distance from the top at which 'scrollend' 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
});

Tip: When performing an asynchronous request on a scrolltop or scrollend event, a flag should be set to block subsequent requests until the current request is complete.


  • Share
  • History
  • More
  • Cancel
Related
Recommended
  • Telligent
  • Professional Services
  • Submit a Support Ticket
  • Become a Partner
  • Request a Demo
  • Contact Us

About
Privacy Policy
Terms of use
Copyright 2024 Verint, Inc.
Powered by Verint Community