O'Reilly logo

Learning PrimeFaces Extensions Development by Sudheer Jonna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Waypoint as a scroll context component and its features

Waypoint creates modern UI design trends such as a one-page site depending upon scroll position on a page and performs execution of a custom logic when you scroll to a specified element. This component is mostly used for lazy-loading data as a user scrolls the page. It supports both horizontal and vertical scrolling.

The Waypoint component supports only the reached event, which is used either by JavaScript or Ajax behavior components. When the scroll goes past the element, the callback function is called to access the scrolling direction ("down", "up", "left", and "right") and the current Waypoint object.

Waypoint supports the following useful client-side widget methods to work with modern ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required